Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.