Created
December 22, 2022 02:59
-
-
Save josue1dario2/3e118ef52b15cfb4e0d509c534652e5e to your computer and use it in GitHub Desktop.
TextSubtitle
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 TextSubtitle extends StatelessWidget { | |
const TextSubtitle({Key? key, required this.text}) : super(key: key); | |
final String text; | |
@override | |
Widget build(BuildContext context) { | |
return Text( | |
text, | |
style: const TextStyle( | |
fontWeight: FontWeight.w600, | |
fontSize: 16, | |
color: Color(0xFF482F74), | |
fontFamily: 'Poppins'), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment