-
-
Save sbis04/93713d0f61d9b593a97f4347495a6e96 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 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