Instantly share code, notes, and snippets.

Embed
What would you like to do?
...
CardTitle("HEIGHT", subtitle: "(cm)"),
Expanded(
child: Padding(
padding: EdgeInsets.only(bottom: screenAwareSize(8.0, context)),
child: LayoutBuilder(builder: (context, constraints) {
return HeightPicker(
widgetHeight: constraints.maxHeight,
height: height,
onChange: (val) => setState(() => height = val),
);
}),
),
),
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment