Skip to content

Instantly share code, notes, and snippets.

@josue1dario2
Created December 22, 2022 02:59
Show Gist options
  • Save josue1dario2/3e118ef52b15cfb4e0d509c534652e5e to your computer and use it in GitHub Desktop.
Save josue1dario2/3e118ef52b15cfb4e0d509c534652e5e to your computer and use it in GitHub Desktop.
TextSubtitle
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