MCSI-1 Select game version and download server file #16

Merged
squid merged 12 commits from MCSI-1_select_game_version_and_download_server_file into main 2025-07-10 15:16:07 +08:00
2 changed files with 2 additions and 9 deletions
Showing only changes of commit c03af1c33c - Show all commits

View File

@ -13,10 +13,11 @@ class GameVersionDropdown extends StatelessWidget {
listener: (_, __) {},
builder:
(_, state) => DropdownMenu(
initialSelection: state.selectedGameVersion,
enabled: state.gameVersions.isNotEmpty,
requestFocusOnTap: false,
expandedInsets: EdgeInsets.zero,
label: const Text(Strings.fieldGameVersion),
label: const Text('${Strings.fieldGameVersion} *'),
onSelected: (value) {
if (value != null) {
context.read<VanilaBloc>().add(VanilaGameVersionSelectedEvent(value));

View File

@ -1,8 +0,0 @@
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility in the flutter_test package. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
void main() {}