Skip to content

Commit

Permalink
Examples: replace blue with more ObjectBox-like teal color
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot-team committed Dec 3, 2024
1 parent 0fc3f6c commit 1e0f61b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion objectbox/example/flutter/objectbox_demo/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) => MaterialApp(
title: 'OB Example',
theme: ThemeData(primarySwatch: Colors.blue),
theme: ThemeData(primarySwatch: Colors.teal),
home: const MyHomePage(title: 'OB Example'),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) => MaterialApp(
title: 'Task-list app example',
theme: ThemeData(primarySwatch: Colors.blue),
theme: ThemeData(primarySwatch: Colors.teal),
home: const MyHomePage(title: 'ObjectBox Example'),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class _TaskInputState extends State<TaskInput> {
items: tags.map(buildMenuItem).toList(),
underline: Container(
height: 2,
color: Colors.blueAccent,
color: Theme.of(context).colorScheme.primary,
),
onChanged: (value) => {
setState(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class MyApp extends StatelessWidget {
Widget build(BuildContext context) =>
MaterialApp(
title: 'OB Example (sync)',
theme: ThemeData(primarySwatch: Colors.blue),
theme: ThemeData(primarySwatch: Colors.teal),
home: const MyHomePage(title: 'OB Example (sync)'),
);
}
Expand Down

0 comments on commit 1e0f61b

Please sign in to comment.