Skip to content

Commit

Permalink
migrated accent color
Browse files Browse the repository at this point in the history
  • Loading branch information
miikhaaeel committed Dec 14, 2021
1 parent 98ec845 commit 096f6f5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
3 changes: 1 addition & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ class BMICalculator extends StatelessWidget {
theme: ThemeData(
primaryColor: Colors.purple,
scaffoldBackgroundColor: Color(0XFF0A0E21),
accentColor: Colors.purple[900],
textTheme: TextTheme(
bodyText2: TextStyle(
color: Colors.white,
),
),
), colorScheme: ColorScheme.fromSwatch().copyWith(secondary: Colors.purple[900]),
),
initialRoute: '/',
routes: {
Expand Down
2 changes: 1 addition & 1 deletion lib/screens/input_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class _InputPageState extends State<InputPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
appBar: AppBar(backgroundColor: Theme.of(context).scaffoldBackgroundColor,
title: Text('BMI CALCULATOR'),
),
body: Column(
Expand Down
16 changes: 8 additions & 8 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.6.1"
version: "2.8.2"
boolean_selector:
dependency: transitive
description:
Expand All @@ -21,14 +21,14 @@ packages:
name: characters
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
version: "1.2.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.3.1"
clock:
dependency: transitive
description:
Expand Down Expand Up @@ -73,14 +73,14 @@ packages:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.10"
version: "0.12.11"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
version: "1.7.0"
path:
dependency: transitive
description:
Expand Down Expand Up @@ -134,7 +134,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.0"
version: "0.4.3"
typed_data:
dependency: transitive
description:
Expand All @@ -148,6 +148,6 @@ packages:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
version: "2.1.1"
sdks:
dart: ">=2.12.0 <3.0.0"
dart: ">=2.14.0 <3.0.0"

0 comments on commit 096f6f5

Please sign in to comment.