Skip to content

Commit 62cc4be

Browse files
fix: analyser issues from later Flutter version (#551)
1 parent f105aee commit 62cc4be

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

packages/firebase_ui_auth/example/windows/runner/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include "utils.h"
77

88
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
9-
_In_ wchar_t *command_line, _In_ int show_command) {
9+
_In_ wchar_t* command_line, _In_ int show_command) {
1010
// Attach to console when present (e.g., 'flutter run') or create a
1111
// new console when running with a debugger.
1212
if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) {

packages/firebase_ui_database/lib/src/table_builder.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ class _PropertyTypeDropdown extends StatelessWidget {
428428
final localizations = FirebaseUILocalizations.labelsOf(context);
429429

430430
return DropdownButtonFormField<_PropertyType?>(
431-
value: formState?.type,
431+
initialValue: formState?.type,
432432
decoration: InputDecoration(labelText: localizations.typeLabel),
433433
items: [
434434
DropdownMenuItem(

packages/firebase_ui_firestore/lib/src/table_builder.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ class _PropertyTypeDropdown extends StatelessWidget {
547547
final localizations = FirebaseUILocalizations.labelsOf(context);
548548

549549
return DropdownButtonFormField<_PropertyType?>(
550-
value: formState?.type,
550+
initialValue: formState?.type,
551551
decoration: InputDecoration(labelText: localizations.typeLabel),
552552
items: [
553553
DropdownMenuItem(

packages/firebase_ui_oauth/lib/src/oauth_provider_button_style.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:flutter/services.dart';
65
import 'package:flutter/widgets.dart';
76

87
import 'package:firebase_ui_shared/firebase_ui_shared.dart';

packages/firebase_ui_shared/lib/src/themed.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:flutter/foundation.dart';
65
import 'package:flutter/widgets.dart';
76

87
/// {@template ui.shared.themed_value}

0 commit comments

Comments
 (0)