Added darkmode for chat view
This commit is contained in:
@ -22,6 +22,10 @@ class AppTheme extends ChangeNotifier {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
static bool isDarkMode(BuildContext context) {
|
||||
return Theme.of(context).brightness == Brightness.dark;
|
||||
}
|
||||
}
|
||||
|
||||
class ThemeModeDisplay {
|
||||
|
Reference in New Issue
Block a user