Card constructor
const
Card({
- Key? key,
- bool? isSelected,
- void onPressed()?,
- double? radius,
- EdgeInsets? padding,
- bool enterAnimated = false,
- OutlinedBorder? shape,
- bool isError = false,
- bool enterActionsOnRight = false,
- WidgetStatesController? statesController,
- bool inert = false,
- bool fillsSelection = false,
- required Widget child,
Implementation
const Card({
super.key,
bool? isSelected,
this.onPressed,
this.radius,
this.padding,
this.enterAnimated = false,
this.shape,
this.isError = false,
this.enterActionsOnRight = false,
this.statesController,
this.inert = false,
this.fillsSelection = false,
required this.child,
}) : isSelected = isSelected ?? false;