For even rows, the function adds a ListTile row for the word pairing. and places each suggestion into a ListTile row. The item builder callback is called once per suggested word pairing, Title: new Text(pair.asPascalCase,style:_biggerFont) Import 'layout_widgets.dart' as layout_widgets Ĭlass RandomWords extends StatefulWidget => new RandomWordsState() įinal _biggerFont = const TextStyle(fontSize: 18.0) Import 'package:english_words/english_words.dart' Main.dart import 'package:flutter/material.dart' But I don't want an AppBar, and also, doing it this way changes all the font colors.Ī possible solution is to inherit ThemeData.bright() into a new class, then add something that only changes the system status bar through setSystemUIOverlayStyleĪnd then I would need to specify AppBar and make it invisible somehow? I can achieve what I want by assigning the theme: to ThemeData.dark() when creating the Material App, and then specifying an appBar attribute. The configuration seems to be overridden by the AppBar class. I'm trying to change the color of the system status bar to black.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |