Instantly share code, notes, and snippets.

Embed
What would you like to do?
class SliderLabel extends StatelessWidget {
final int height;
const SliderLabel({Key key, this.height}) : super(key: key);
@override
Widget build(BuildContext context) {
return Padding(
padding: EdgeInsets.only(
left: screenAwareSize(4.0, context),
bottom: screenAwareSize(2.0, context),
),
child: Text(
"$height",
style: TextStyle(
fontSize: selectedLabelFontSize,
color: Theme.of(context).primaryColor,
fontWeight: FontWeight.w600,
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment