Skip to content

Instantly share code, notes, and snippets.

@sbis04
Created February 17, 2021 01:31
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 sbis04/93713d0f61d9b593a97f4347495a6e96 to your computer and use it in GitHub Desktop.
Save sbis04/93713d0f61d9b593a97f4347495a6e96 to your computer and use it in GitHub Desktop.
class InfoTile extends StatelessWidget {
final String name;
final String data;
InfoTile({
@required this.name,
@required this.data,
});
@override
Widget build(BuildContext context) {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
name,
style: TextStyle(
color: CustomColors.muxGray,
fontSize: 16.0,
fontWeight: FontWeight.w500,
),
),
SizedBox(height: 4.0),
Text(
data,
style: TextStyle(
color: CustomColors.muxGray.withOpacity(0.6),
fontSize: 14.0,
fontWeight: FontWeight.w400,
),
),
SizedBox(height: 8.0),
],
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment