Skip to content

Commit

Permalink
made icons theme adptive
Browse files Browse the repository at this point in the history
  • Loading branch information
sapatevaibhav committed Feb 28, 2024
1 parent b9ecf34 commit 2f3a020
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/pages/about.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ class AboutPage extends StatelessWidget {
'assets/images/git.svg',
width: 32.0,
height: 32.0,
color: Theme.of(context).brightness == Brightness.dark
? Colors.white
: Colors.black,
),
),
const SizedBox(height: 16.0),
Expand All @@ -85,6 +88,9 @@ class AboutPage extends StatelessWidget {
'assets/images/github.svg',
width: 32.0,
height: 32.0,
color: Theme.of(context).brightness == Brightness.dark
? Colors.white
: Colors.black,
),
),
const SizedBox(width: 16.0),
Expand All @@ -96,6 +102,9 @@ class AboutPage extends StatelessWidget {
'assets/images/email.svg',
width: 32.0,
height: 32.0,
color: Theme.of(context).brightness == Brightness.dark
? Colors.white
: Colors.black ,
),
),
const SizedBox(width: 16.0),
Expand All @@ -119,6 +128,9 @@ class AboutPage extends StatelessWidget {
'assets/images/instagram.svg',
width: 32.0,
height: 32.0,
color: Theme.of(context).brightness == Brightness.dark
? Colors.white
: Colors.black,
),
),
],
Expand Down

0 comments on commit 2f3a020

Please sign in to comment.