CardSurface constructor
const
CardSurface({
- Key? key,
- required OutlinedBorder shape,
- required Color fill,
- required Color previousFill,
- required BorderSide side,
- required BorderSide previousSide,
- required Animation<
double> transition, - required Animation<
double> pressed, - Color hover = const Color(0x00000000),
- PressSparkles? sparkles,
- Color inkColor = const Color(0x00000000),
- required PressLook look,
- required Brightness brightness,
- required EdgeInsets padding,
- required BoxConstraints minimum,
- required Size tapTarget,
- required bool interactive,
- required bool selected,
- bool childFills = false,
- bool clipsChild = false,
- VoidCallback? onTap,
- ValueChanged<
PointerDownEvent> ? onPointerDown, - ValueChanged<
PointerEvent> ? onPointerEnd, - ValueChanged<
bool> ? onHover, - Widget? child,
Implementation
const CardSurface({
super.key,
required this.shape,
required this.fill,
required this.previousFill,
required this.side,
required this.previousSide,
required this.transition,
required this.pressed,
this.hover = const Color(0x00000000),
this.sparkles,
this.inkColor = const Color(0x00000000),
required this.look,
required this.brightness,
required this.padding,
required this.minimum,
required this.tapTarget,
required this.interactive,
required this.selected,
this.childFills = false,
this.clipsChild = false,
this.onTap,
this.onPointerDown,
this.onPointerEnd,
this.onHover,
super.child,
});