Skip to content

Commit 507dc03

Browse files
authored
Update themes.dart
1 parent a11e589 commit 507dc03

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

themes.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1+
//Applying dark & light themes in flutter
2+
//code snippet taken from abuanwar072 (applied some of my own changes too)
13

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
210

311
ThemeData lightThemeData(BuildContext context) {
412
return ThemeData.light().copyWith(

0 commit comments

Comments
 (0)