Skip to content

Instantly share code, notes, and snippets.

@MarcinusX
Created September 13, 2018 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarcinusX/eb9765fbd0890d9f93fb022c569112fa to your computer and use it in GitHub Desktop.
Save MarcinusX/eb9765fbd0890d9f93fb022c569112fa to your computer and use it in GitHub Desktop.
...
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