We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a11e589 commit 507dc03Copy full SHA for 507dc03
themes.dart
@@ -1,4 +1,12 @@
1
+//Applying dark & light themes in flutter
2
+//code snippet taken from abuanwar072 (applied some of my own changes too)
3
4
+import 'package:colorCode.dart';
5
+import 'package:flutter/material.dart';
6
+import 'package:google_fonts/google_fonts.dart';
7
+
8
9
+// let's add light theme on our app
10
11
ThemeData lightThemeData(BuildContext context) {
12
return ThemeData.light().copyWith(
0 commit comments