Skip to content

Commit 2da374b

Browse files
committed
fix: compilation errors from invalid/unknown identifiers
1 parent c3acdba commit 2da374b

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

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-
initialValue: formState?.type,
431+
value: 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-
initialValue: formState?.type,
550+
value: 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: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
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/widgets.dart';
6-
5+
import 'package:flutter/material.dart';
76
import 'package:firebase_ui_shared/firebase_ui_shared.dart';
87
import 'package:flutter_svg/svg.dart';
98

packages/firebase_ui_shared/lib/src/themed.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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/widgets.dart';
5+
import 'package:flutter/material.dart';
66

77
/// {@template ui.shared.themed_value}
88
/// Helper class that helps to resolve a value based on the current app

0 commit comments

Comments
 (0)