feat: merge to fluent_ui: ^4.8.6

This commit is contained in:
xkeyC 2024-03-14 19:54:37 +08:00
parent 4a4eb9f701
commit 8426570ced
3 changed files with 7 additions and 2 deletions

View File

@ -127,6 +127,7 @@ class HomeUI extends HookConsumerWidget {
Expanded( Expanded(
child: ComboBox<String>( child: ComboBox<String>(
value: homeState.scInstalledPath, value: homeState.scInstalledPath,
isExpanded: true,
items: [ items: [
const ComboBoxItem( const ComboBoxItem(
value: "not_install", value: "not_install",
@ -135,7 +136,9 @@ class HomeUI extends HookConsumerWidget {
for (final path in homeState.scInstallPaths) for (final path in homeState.scInstallPaths)
ComboBoxItem( ComboBoxItem(
value: path, value: path,
child: Text(path), child: Row(
children: [Text(path)],
),
) )
], ],
onChanged: model.onChangeInstallPath, onChanged: model.onChangeInstallPath,

View File

@ -196,6 +196,7 @@ class ToolsUI extends HookConsumerWidget {
child: SizedBox( child: SizedBox(
height: 36, height: 36,
child: ComboBox<String>( child: ComboBox<String>(
isExpanded: true,
value: state.scInstalledPath, value: state.scInstalledPath,
items: [ items: [
for (final path in state.scInstallPaths) for (final path in state.scInstallPaths)
@ -233,6 +234,7 @@ class ToolsUI extends HookConsumerWidget {
child: SizedBox( child: SizedBox(
height: 36, height: 36,
child: ComboBox<String>( child: ComboBox<String>(
isExpanded: true,
value: state.rsiLauncherInstalledPath, value: state.rsiLauncherInstalledPath,
items: [ items: [
for (final path in state.rsiLauncherInstallPaths) for (final path in state.rsiLauncherInstallPaths)

View File

@ -37,7 +37,7 @@ dependencies:
json_annotation: ^4.8.1 json_annotation: ^4.8.1
go_router: ^13.2.0 go_router: ^13.2.0
window_manager: ^0.3.2 window_manager: ^0.3.2
fluent_ui: 4.8.5 fluent_ui: ^4.8.6
flutter_staggered_grid_view: ^0.7.0 flutter_staggered_grid_view: ^0.7.0
flutter_acrylic: ^1.1.0 flutter_acrylic: ^1.1.0
url_launcher: ^6.1.10 url_launcher: ^6.1.10