buildTheme static method
Implementation
static ThemeData buildTheme() {
return _theme.copyWith(
scaffoldBackgroundColor: KashiColors.grey1,
colorScheme: ColorScheme.fromSeed(seedColor: KashiColors.primaryColor),
appBarTheme: AppBarTheme(
scrolledUnderElevation: 0,
toolbarHeight: 100,
centerTitle: false,
iconTheme: const IconThemeData(color: Colors.white),
backgroundColor: KashiColors.grey1,
titleSpacing: 0,
titleTextStyle:
KashiTheme.sh1SemiBold.copyWith(fontWeight: FontWeight.w500, color: Colors.white).toDMSanFontsFamily(),
),
textTheme: GoogleFonts.interTextTheme(_theme.textTheme.copyWith(
displayLarge: _theme.textTheme.displayLarge?.copyWith(
color: Colors.white,
),
)),
);
}