Merge pull request #332 from Hixie/flutter-analyze
flutter analyze command
This commit is contained in:
@@ -124,7 +124,7 @@ class FitnessAppState extends State<FitnessApp> {
|
||||
});
|
||||
}
|
||||
|
||||
Widget build(BuildContext) {
|
||||
Widget build(BuildContext context) {
|
||||
return new MaterialApp(
|
||||
theme: new ThemeData(
|
||||
brightness: ThemeBrightness.light,
|
||||
|
||||
@@ -38,7 +38,7 @@ final ThemeData _theme = new ThemeData(
|
||||
);
|
||||
|
||||
class TestAppState extends State<TestApp> {
|
||||
TestApp() {
|
||||
TestAppState() {
|
||||
_testBed = new TestBed(_labelTexts[_selectedLine]);
|
||||
}
|
||||
|
||||
|
||||
@@ -44,10 +44,10 @@ class TabbedNavigatorAppState extends State<TabbedNavigatorApp> {
|
||||
|
||||
TabNavigator _buildIconLabelsTabNavigator(int n) {
|
||||
Iterable<TabNavigatorView> views = ["event", "home", "android", "alarm", "face", "language"]
|
||||
.map((icon_name) {
|
||||
.map((String iconName) {
|
||||
return new TabNavigatorView(
|
||||
label: new TabLabel(icon: "action/$icon_name"),
|
||||
builder: (BuildContext context) => _buildContent(icon_name)
|
||||
label: new TabLabel(icon: "action/$iconName"),
|
||||
builder: (BuildContext context) => _buildContent(iconName)
|
||||
);
|
||||
});
|
||||
return _buildTabNavigator(n, views.toList(), const ValueKey<String>('iconLabelsTabNavigator'));
|
||||
|
||||
Reference in New Issue
Block a user