Add missing colons to headers

This commit is contained in:
Oystein Kristoffer Tveit 2022-01-23 16:27:08 +01:00
parent e994d73506
commit 04793b58ca
2 changed files with 8 additions and 9 deletions

View File

@ -20,18 +20,17 @@ class KanjiBox extends StatelessWidget {
aspectRatio: 1, aspectRatio: 1,
child: Container( child: Container(
padding: const EdgeInsets.all(5), padding: const EdgeInsets.all(5),
alignment: Alignment.center,
decoration: BoxDecoration( decoration: BoxDecoration(
color: menuColors.background, color: menuColors.background,
borderRadius: BorderRadius.circular(10.0), borderRadius: BorderRadius.circular(10.0),
), ),
child: Center( child: FittedBox(
child: FittedBox( child: Text(
child: Text( kanji,
kanji, style: TextStyle(
style: TextStyle( color: menuColors.foreground,
color: menuColors.foreground, fontSize: 25,
fontSize: 25,
),
), ),
), ),
), ),

View File

@ -16,7 +16,7 @@ class OtherForms extends StatelessWidget {
children: forms.isNotEmpty children: forms.isNotEmpty
? [ ? [
const Text( const Text(
'Other Forms', 'Other Forms:',
style: TextStyle(fontWeight: FontWeight.bold), style: TextStyle(fontWeight: FontWeight.bold),
), ),
Wrap( Wrap(