👷 Flutter 2/3 compatible
This commit is contained in:
parent
e57be1a892
commit
20cf418d54
|
@ -240,6 +240,7 @@ jobs:
|
||||||
sed -i "s/file_picker: ^5.2.1/file_picker: 4.6.1/g" pubspec.yaml
|
sed -i "s/file_picker: ^5.2.1/file_picker: 4.6.1/g" pubspec.yaml
|
||||||
sed -i "s/multi_select_flutter: ^4.0.0/multi_select_flutter: 4.1.2/g" pubspec.yaml
|
sed -i "s/multi_select_flutter: ^4.0.0/multi_select_flutter: 4.1.2/g" pubspec.yaml
|
||||||
sed -i "s/modal_bottom_sheet: ^3.0.0-pre/modal_bottom_sheet: 2.0.1/g" pubspec.yaml
|
sed -i "s/modal_bottom_sheet: ^3.0.0-pre/modal_bottom_sheet: 2.0.1/g" pubspec.yaml
|
||||||
|
sed -i "s/Icons.energy_savings_leaf/Icons.ad_units/g" lib/screens/SettingsScreen.dart
|
||||||
flutter pub get
|
flutter pub get
|
||||||
|
|
||||||
- name: Upgrade deps version (flutter2 mac)
|
- name: Upgrade deps version (flutter2 mac)
|
||||||
|
|
|
@ -75,12 +75,12 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||||
title: const Text('设置'),
|
title: const Text('设置'),
|
||||||
),
|
),
|
||||||
body: SingleChildScrollView(
|
body: SingleChildScrollView(
|
||||||
padding: EdgeInsets.all(16),
|
padding: const EdgeInsets.all(16),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
ExpansionTile(
|
ExpansionTile(
|
||||||
leading: Icon(Icons.energy_savings_leaf),
|
leading: const Icon(Icons.energy_savings_leaf),
|
||||||
title: Text('界面'),
|
title: const Text('界面'),
|
||||||
children: [
|
children: [
|
||||||
const Divider(),
|
const Divider(),
|
||||||
...themeWidgets(context, setState),
|
...themeWidgets(context, setState),
|
||||||
|
|
Loading…
Reference in New Issue