CellAnimatedPhysicalModel constructor
const
CellAnimatedPhysicalModel({
- Key? key,
- required ValueCell<
Widget> child, - ValueCell<
BoxShape> shape = const ValueCell.value(BoxShape.rectangle), - ValueCell<
Clip> clipBehavior = const ValueCell.value(Clip.none), - ValueCell<
BorderRadius?> ? borderRadius, - ValueCell<
double> elevation = const ValueCell.value(0.0), - required ValueCell<
Color> color, - ValueCell<
bool> animateColor = const ValueCell.value(true), - required ValueCell<
Color> shadowColor, - ValueCell<
bool> animateShadowColor = const ValueCell.value(true), - ValueCell<
Curve> curve = const ValueCell.value(Curves.linear), - required ValueCell<
Duration> duration, - ValueCell<
void Function()?> ? onEnd,
Implementation
const CellAnimatedPhysicalModel({
super.key,
required this.child,
this.shape = const ValueCell.value(BoxShape.rectangle),
this.clipBehavior = const ValueCell.value(Clip.none),
this.borderRadius,
this.elevation = const ValueCell.value(0.0),
required this.color,
this.animateColor = const ValueCell.value(true),
required this.shadowColor,
this.animateShadowColor = const ValueCell.value(true),
this.curve = const ValueCell.value(Curves.linear),
required this.duration,
this.onEnd,
});