isPlatformDarkMode property

bool isPlatformDarkMode

Check if dark mode theme is enable on platform on android Q+

Implementation

bool get isPlatformDarkMode =>
    (mediaQuery.platformBrightness == Brightness.dark);