Created
September 10, 2019 15:53
-
-
Save isacjunior/c5865c0649432ac7b119b845c71f7a39 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 CustomText extends StatelessWidget { | |
final String text; | |
CustomText({ @required this.text }); | |
@override | |
Widget build(BuildContext context) { | |
return Center( | |
child: Text(text), | |
); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment