Skip to content

Instantly share code, notes, and snippets.

@MarcinusX
Created May 27, 2019 04:43
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/4fdf30f4f47315bc5775ec760106c34a to your computer and use it in GitHub Desktop.
Save MarcinusX/4fdf30f4f47315bc5775ec760106c34a to your computer and use it in GitHub Desktop.
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