BottomAppBarTheme constructor
- Key? key,
- Color? color,
- double? elevation,
- NotchedShape? shape,
- double? height,
- Color? surfaceTintColor,
- Color? shadowColor,
- EdgeInsetsGeometry? padding,
- BottomAppBarThemeData? data,
- Widget? child,
Creates a theme that can be used for ThemeData.bottomAppBarTheme.
Implementation
const BottomAppBarTheme({
super.key,
Color? color,
double? elevation,
NotchedShape? shape,
double? height,
Color? surfaceTintColor,
Color? shadowColor,
EdgeInsetsGeometry? padding,
BottomAppBarThemeData? data,
Widget? child,
}) : assert(
data == null ||
(color ??
elevation ??
shape ??
height ??
surfaceTintColor ??
shadowColor ??
padding) ==
null,
),
_color = color,
_elevation = elevation,
_shape = shape,
_height = height,
_surfaceTintColor = surfaceTintColor,
_shadowColor = shadowColor,
_padding = padding,
_data = data,
super(child: child ?? const SizedBox.shrink());