UiWidget constructor
const
UiWidget({
- Key? key,
- Duration? duration,
- Curve? curve,
- VoidCallback? onEnd,
- Widget? child,
Creates a SingleChildWidget compatible with Ui.children.
Typically returns a Widget, or ImplicitlyAnimatedWidget if duration is present.
Implementation
const UiWidget({
super.key,
this.duration,
Curve? curve,
this.onEnd,
super.child,
}) : _curve = curve;