Norbert515 / dynamic_theme

Dynamically changing your theme without hassle
MIT License
322 stars 68 forks source link

Feature request - style phone navigation bar #43

Open devonik opened 4 years ago

devonik commented 4 years ago

Hello,

it would be nice if there is a option that the navigation bar in the phone is always changing theme to light / dark mode.

It would be more better than use another library like flutter_statusbarcolor

At the moment I do it with "flutter_statusbarcolor":

import 'package:flutter_statusbarcolor/flutter_statusbarcolor.dart';
FlutterStatusbarcolor.setNavigationBarColor(Theme.of(context).brightness == Brightness.dark ? Colors.blueGrey: Colors.black);

How did you solve it?

Issue (Samsung Galaxy S10):

Dark theme: navigation-bar-dark

Light theme: navigation-bar-light