working fontsize
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
556c94f979
commit
d849c1f6bf
|
@ -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<RandomWords> {
|
||||
final _suggestions = <WordPair>[];
|
||||
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)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue