Set default DividerTheme
(cherry picked from commit 9be02961277e990f8ded19106532f9c788eb1d7e)
This commit is contained in:
@@ -11,6 +11,7 @@ class ThemeUtils {
|
||||
fontFamily: ConstantsUI.fontApp,
|
||||
appBarTheme: _appBarTheme,
|
||||
textTheme: _textTheme,
|
||||
dividerTheme: _dividerTheme,
|
||||
visualDensity: VisualDensity.adaptivePlatformDensity,
|
||||
scrollbarTheme: ScrollbarThemeData(
|
||||
thickness: MaterialStateProperty.all(2.0),
|
||||
@@ -36,6 +37,13 @@ class ThemeUtils {
|
||||
);
|
||||
}
|
||||
|
||||
static DividerThemeData get _dividerTheme {
|
||||
return const DividerThemeData(
|
||||
color: AppColor.colorDivider,
|
||||
space: 0
|
||||
);
|
||||
}
|
||||
|
||||
static void setSystemLightUIStyle() {
|
||||
SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle(
|
||||
systemNavigationBarColor: Colors.black,
|
||||
|
||||
Reference in New Issue
Block a user