Constants! Constants everywhere! (#9286)
Aggressively apply the const lint.
This commit is contained in:
@@ -30,7 +30,7 @@ void main() {
|
||||
runApp(new MaterialApp(
|
||||
title: "Markdown Demo",
|
||||
home: new Scaffold(
|
||||
appBar: new AppBar(title: new Text('Markdown Demo')),
|
||||
appBar: new AppBar(title: const Text('Markdown Demo')),
|
||||
body: new Markdown(data: _kMarkdownData)
|
||||
)
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user