BottomAppBarTheme constructor

const BottomAppBarTheme({
  1. Key? key,
  2. Color? color,
  3. double? elevation,
  4. NotchedShape? shape,
  5. double? height,
  6. Color? surfaceTintColor,
  7. Color? shadowColor,
  8. EdgeInsetsGeometry? padding,
  9. BottomAppBarThemeData? data,
  10. 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());