-
-
Save MarcinusX/4fdf30f4f47315bc5775ec760106c34a 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 SheetHeader extends StatelessWidget { | |
final double fontSize; | |
final double topMargin; | |
const SheetHeader( | |
{Key key, @required this.fontSize, @required this.topMargin}) | |
: super(key: key); | |
@override | |
Widget build(BuildContext context) { | |
return Positioned( | |
top: topMargin, | |
child: Text( | |
'Booked Exhibition', | |
style: TextStyle( | |
color: Colors.white, | |
fontSize: fontSize, | |
fontWeight: FontWeight.w500, | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment