NesBottomSheetTheme constructor
const
NesBottomSheetTheme({
- required Color backgroundColor,
- required Color borderColor,
- EdgeInsets padding = const EdgeInsets.all(32),
- int? pixelSize,
- NesBottomSheetPainterBuilder painter = NesBottomSheetRoundedBorderPainter.new,
Class with information regarding containers inside NesUI.
A NesContainerTheme is an optional custom theme for NesUI containers, by default, flutterNesTheme will create a NesContainerTheme where:
- backgroundColor is ThemeData.cardColor
- borderColor is
ThemeData.textTheme.labelMedium.color
labelTextStyle
isThemeData.textTheme.labelMedium
Implementation
const NesBottomSheetTheme({
required this.backgroundColor,
required this.borderColor,
this.padding = const EdgeInsets.all(32),
this.pixelSize,
this.painter = NesBottomSheetRoundedBorderPainter.new,
});