File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
firebase_ai/firebase_ai/example/lib
firebase_database/firebase_database_web/lib/src/interop
firebase_vertexai/firebase_vertexai/example/lib Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,9 @@ class _HomeScreenState extends State<HomeScreen> {
230
230
onChanged: widget.onBackendChanged,
231
231
activeTrackColor: Colors .green.withValues (alpha: 0.5 ),
232
232
inactiveTrackColor: Colors .blueGrey.withValues (alpha: 0.5 ),
233
- activeThumbColor: Colors .green,
233
+ // Ignore until activeThumbColor is availble on stable channel.
234
+ // ignore: deprecated_member_use
235
+ activeColor: Colors .green,
234
236
inactiveThumbColor: Colors .blueGrey,
235
237
),
236
238
Text (
Original file line number Diff line number Diff line change @@ -676,12 +676,11 @@ class OnDisconnect
676
676
/// See: <https://firebase.google.com/docs/reference/js/firebase.database.ThenableReference>.
677
677
class ThenableReference
678
678
extends DatabaseReference <database_interop.ThenableReferenceJsImpl > {
679
- late final Future <DatabaseReference > _future = jsObject
680
- .then (((database_interop.ReferenceJsImpl reference) {
681
- DatabaseReference .getInstance (reference);
682
- }).toJS)
679
+ late final Future <DatabaseReference > _future = (jsObject as JSPromise )
683
680
.toDart
684
- .then ((value) => value! as DatabaseReference );
681
+ .then ((value) => DatabaseReference .getInstance (
682
+ value as database_interop.ReferenceJsImpl ,
683
+ ));
685
684
686
685
/// Creates a new ThenableReference from a [jsObject] .
687
686
ThenableReference .fromJsObject (
Original file line number Diff line number Diff line change @@ -232,7 +232,9 @@ class _HomeScreenState extends State<HomeScreen> {
232
232
onChanged: widget.onBackendChanged,
233
233
activeTrackColor: Colors .green.withValues (alpha: 0.5 ),
234
234
inactiveTrackColor: Colors .blueGrey.withValues (alpha: 0.5 ),
235
- activeThumbColor: Colors .green,
235
+ // Ignore until activeThumbColor is availble on stable channel.
236
+ // ignore: deprecated_member_use
237
+ activeColor: Colors .green,
236
238
inactiveThumbColor: Colors .blueGrey,
237
239
),
238
240
Text (
You can’t perform that action at this time.
0 commit comments