Set background color for dialogs

This commit is contained in:
Vishnu Mohandas 2021-02-06 01:18:20 +05:30
parent 9b44b0eef0
commit edf8f9236a

View file

@ -150,6 +150,9 @@ class MyApp extends StatelessWidget with WidgetsBindingObserver {
color: Color.fromRGBO(20, 20, 20, 1.0),
),
cardColor: Color.fromRGBO(25, 25, 25, 1.0),
dialogTheme: DialogTheme().copyWith(
backgroundColor: Color.fromRGBO(20, 20, 20, 1.0),
),
),
home: HomeWidget(_title),
);