use const instead of final with const declarations (#14253)

This commit is contained in:
Alexandre Ardhuin
2018-01-25 19:28:22 +01:00
committed by GitHub
parent 34ff00a752
commit 10f721c8a5
24 changed files with 137 additions and 137 deletions

View File

@@ -25,8 +25,8 @@ final List<List<String>> _kNameLines = _kDialogText
final TextStyle _kDaveStyle = new TextStyle(color: Colors.indigo.shade400, height: 1.8);
final TextStyle _kHalStyle = new TextStyle(color: Colors.red.shade400, fontFamily: 'monospace');
final TextStyle _kBold = const TextStyle(fontWeight: FontWeight.bold);
final TextStyle _kUnderline = const TextStyle(
const TextStyle _kBold = const TextStyle(fontWeight: FontWeight.bold);
const TextStyle _kUnderline = const TextStyle(
decoration: TextDecoration.underline,
decorationColor: const Color(0xFF000000),
decorationStyle: TextDecorationStyle.wavy