diff --git a/packages/firebase_ui_auth/example/windows/runner/main.cpp b/packages/firebase_ui_auth/example/windows/runner/main.cpp index 6a6b7911..5ba10246 100644 --- a/packages/firebase_ui_auth/example/windows/runner/main.cpp +++ b/packages/firebase_ui_auth/example/windows/runner/main.cpp @@ -6,7 +6,7 @@ #include "utils.h" int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, - _In_ wchar_t *command_line, _In_ int show_command) { + _In_ wchar_t* command_line, _In_ int show_command) { // Attach to console when present (e.g., 'flutter run') or create a // new console when running with a debugger. if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) { diff --git a/packages/firebase_ui_database/lib/src/table_builder.dart b/packages/firebase_ui_database/lib/src/table_builder.dart index 09e6cbd6..42b61d55 100644 --- a/packages/firebase_ui_database/lib/src/table_builder.dart +++ b/packages/firebase_ui_database/lib/src/table_builder.dart @@ -428,7 +428,7 @@ class _PropertyTypeDropdown extends StatelessWidget { final localizations = FirebaseUILocalizations.labelsOf(context); return DropdownButtonFormField<_PropertyType?>( - value: formState?.type, + initialValue: formState?.type, decoration: InputDecoration(labelText: localizations.typeLabel), items: [ DropdownMenuItem( diff --git a/packages/firebase_ui_firestore/lib/src/table_builder.dart b/packages/firebase_ui_firestore/lib/src/table_builder.dart index faa3402b..580e7595 100644 --- a/packages/firebase_ui_firestore/lib/src/table_builder.dart +++ b/packages/firebase_ui_firestore/lib/src/table_builder.dart @@ -547,7 +547,7 @@ class _PropertyTypeDropdown extends StatelessWidget { final localizations = FirebaseUILocalizations.labelsOf(context); return DropdownButtonFormField<_PropertyType?>( - value: formState?.type, + initialValue: formState?.type, decoration: InputDecoration(labelText: localizations.typeLabel), items: [ DropdownMenuItem( diff --git a/packages/firebase_ui_oauth/lib/src/oauth_provider_button_style.dart b/packages/firebase_ui_oauth/lib/src/oauth_provider_button_style.dart index bf740e7d..96b272dd 100644 --- a/packages/firebase_ui_oauth/lib/src/oauth_provider_button_style.dart +++ b/packages/firebase_ui_oauth/lib/src/oauth_provider_button_style.dart @@ -2,7 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'package:flutter/services.dart'; import 'package:flutter/widgets.dart'; import 'package:firebase_ui_shared/firebase_ui_shared.dart'; diff --git a/packages/firebase_ui_shared/lib/src/themed.dart b/packages/firebase_ui_shared/lib/src/themed.dart index b3f7d62d..e254c992 100644 --- a/packages/firebase_ui_shared/lib/src/themed.dart +++ b/packages/firebase_ui_shared/lib/src/themed.dart @@ -2,7 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; /// {@template ui.shared.themed_value}