openBoxFromBottom static method
MotionWidgetBuilder
openBoxFromBottom({
- required BoxDecoration decoration,
- BoxDecoration? endDecoration,
- EdgeInsets padding = EdgeInsets.zero,
- EdgeInsets? endPadding,
A clipBox that opens from bottom.
Implementation
static MotionWidgetBuilder openBoxFromBottom({
required BoxDecoration decoration,
BoxDecoration? endDecoration,
EdgeInsets padding = EdgeInsets.zero,
EdgeInsets? endPadding,
}) =>
clipBox(
decoration: decoration,
startAmount: Offset(0, 1) & Size(1, 0),
endAmount: Offset(0, 0) & Size(1, 1),
endDecoration: endDecoration,
padding: padding,
endPadding: endPadding,
);