FlTheme constructor
FlTheme({})
Implementation
FlTheme({
final String? fontFamily,
this.primaryColor = Colors.green,
this.secondaryColor = Colors.lime,
this.tertiaryColor = Colors.orange,
}) {
_baseTheme = ThemeData(
fontFamily: fontFamily ?? GoogleFonts.poppins().fontFamily,
iconTheme: const IconThemeData(
size: 24,
),
appBarTheme: const AppBarTheme(
backgroundColor: Colors.transparent,
scrolledUnderElevation: 0,
elevation: 0,
),
dialogTheme: const DialogTheme(
backgroundColor: Colors.transparent,
surfaceTintColor: Colors.transparent,
),
);
}