Skip to content

Commit

Permalink
fix: update to flutter 3.13 (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier committed Aug 18, 2023
1 parent 496d4ee commit a5a86e3
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:

env:
FLUTTER_VERSION: 3.10.x
FLUTTER_VERSION: 3.13.x

jobs:
analyze:
Expand Down
2 changes: 1 addition & 1 deletion example/lib/src/colors/colors_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class ColorsView extends StatelessWidget {
theme: theme,
colors: extensionColors,
headline: 'Extension Colors',
)
),
],
);
}
Expand Down
6 changes: 3 additions & 3 deletions example/lib/src/containers/containers_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class _ContainersViewState extends State<ContainersView> {
YaruIcons.address_book,
YaruIcons.application_bag,
YaruIcons.beaker,
YaruIcons.calendar_important
YaruIcons.calendar_important,
];

@override
Expand Down Expand Up @@ -72,7 +72,7 @@ class _ContainersViewState extends State<ContainersView> {
title: Text("ListTile title $i"),
subtitle: i.isEven ? null : const Text('Subtitle'),
trailing: const Text("Trailing"),
)
),
];

return SizedBox(
Expand Down Expand Up @@ -104,7 +104,7 @@ class _ContainersViewState extends State<ContainersView> {
children: children,
)
else
...children
...children,
],
),
);
Expand Down
2 changes: 1 addition & 1 deletion example/lib/src/controls/buttons.dart
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class _ButtonsState extends State<Buttons> {
Wrap(
spacing: kWrapSpacing,
children: [button.$1, button.$2],
)
),
],
);
}
Expand Down
2 changes: 1 addition & 1 deletion example/lib/src/controls/chips.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Chips extends StatelessWidget {
label: const Text('Once they re involved'),
selected: false,
onSelected: (value) {},
)
),
],
);
}
Expand Down
2 changes: 1 addition & 1 deletion example/lib/src/controls/controls_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class _ControlsViewState extends State<ControlsView>
(Tab(text: 'Fabs'), Fabs()),
(Tab(text: 'ToggleAbles'), ToggleAbles()),
(Tab(text: 'Chips'), Chips()),
(Tab(text: 'Progress'), Progress())
(Tab(text: 'Progress'), Progress()),
];

@override
Expand Down
2 changes: 1 addition & 1 deletion example/lib/src/controls/toggleables.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ToggleAbles extends StatelessWidget {
children: const [Text('Off'), Text('Off'), Text('Off')],
),
],
)
),
],
);
}
Expand Down
8 changes: 4 additions & 4 deletions example/lib/src/home/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class HomePageState extends State<HomePage> {
child: Center(
child: _items.entries.elementAt(_selectedIndex).key,
),
)
),
],
);
} else {
Expand Down Expand Up @@ -170,7 +170,7 @@ class _ThemeButton extends StatelessWidget {
color: light ? Colors.black : Colors.white,
selected: theme.highContrast == true,
),
const Text('highContrast')
const Text('highContrast'),
],
),
),
Expand All @@ -188,10 +188,10 @@ class _ThemeButton extends StatelessWidget {
selected:
variant == theme.variant && theme.highContrast != true,
),
Text(variant.name)
Text(variant.name),
],
),
)
),
];
},
);
Expand Down
2 changes: 1 addition & 1 deletion example/lib/src/textfields/text_fields_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class _TextFieldsViewState extends State<TextFieldsView> {
dropdownMenuEntries: [
DropdownMenuEntry(value: 1, label: '1'),
DropdownMenuEntry(value: 2, label: '2'),
DropdownMenuEntry(value: 3, label: '3')
DropdownMenuEntry(value: 3, label: '3'),
],
),
];
Expand Down

0 comments on commit a5a86e3

Please sign in to comment.