-
-
Save MarcinusX/02d5aa08b26165d7a0b018ce04d1bd13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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