MephistoThemeProvider constructor
const
MephistoThemeProvider({ - Key? key,
- required Widget child,
- Color? primaryColor = const Color(0xFF844FC7),
- String? fontFamily = 'Roboto',
- double? borderRadius = 8,
- double? borderWidth = 1,
- bool? isDarkTheme = true,
- bool? showBottomNavbarLabels = true,
- bool? enableBottomNavbarFeedbacks = true,
- bool? isFilledBgWidgets = false,
- Color? darkFillColor = black,
- Color? lightFillColor = Colors.white,
- Color? darkLineColor = lineColorDark,
- Color? lightLineColor = lineColorLight,
- Color? captionTextAndIconColor = Colors.red,
})
Implementation
const MephistoThemeProvider(
{super.key,
required this.child,
this.primaryColor = const Color(0xFF844FC7),
this.fontFamily = 'Roboto',
this.borderRadius = 8,
this.borderWidth = 1,
this.isDarkTheme = true,
this.showBottomNavbarLabels = true,
this.enableBottomNavbarFeedbacks = true,
this.isFilledBgWidgets = false,
this.darkFillColor = black,
this.lightFillColor = Colors.white,
this.darkLineColor = lineColorDark,
this.lightLineColor = lineColorLight,
this.captionTextAndIconColor = Colors.red});