Skip to content

Commit bccdc2a

Browse files
committed
docs(firebase_dart_flutter): fix example for latest flutter version
1 parent 48b42bf commit bccdc2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firebase_dart_flutter/example/lib/src/database/inspector.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class _QueryWidgetState extends State<QueryWidget> {
200200
if (_subscription != null && _error != null)
201201
Text(_error!,
202202
style: TextStyle(
203-
color: Theme.of(context).errorColor,
203+
color: Theme.of(context).colorScheme.error,
204204
))
205205
],
206206
);

0 commit comments

Comments
 (0)