appBarTheme static method

AppBarTheme appBarTheme(
  1. Palette colors,
  2. TextTheme textTheme,
  3. double scale
)

Implementation

static AppBarTheme appBarTheme(
  Palette colors,
  TextTheme textTheme,
  double scale,
) {
  return AppBarTheme(
    toolbarHeight: kToolbarHeight * scale.sizeScale,
    titleTextStyle: textTheme.displayLarge,
    backgroundColor: colors.background,
    foregroundColor: colors.backgroundText,
    surfaceTintColor: Colors.transparent,
    elevation: 0,
  );
}