From d849c1f6bfd302ce92629ee765030249d2f1ab05 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 16 Dec 2022 06:06:29 -0600 Subject: [PATCH] working fontsize Signed-off-by: Jeff Carr --- lib/main.dart | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 4d40240..13812ce 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -17,7 +17,7 @@ class MyApp extends StatelessWidget { title: 'Welcome to Flutter', home: Scaffold( appBar: AppBar( - title: const Text('Welcome to Flutter'), + title: const Text('Welcome to Flutter vJWC'), ), body: const Center( child: RandomWords(), @@ -35,9 +35,15 @@ class RandomWords extends StatefulWidget { } class _RandomWordsState extends State { + final _suggestions = []; + final _biggerFont = const TextStyle(fontSize: 24); + @override Widget build(BuildContext context) { final wordPair = WordPair.random(); - return Text(wordPair.asPascalCase); + return Text( + wordPair.asPascalCase, + style: TextStyle(fontSize: 36) + ); } }