⌂
›
Reference
›
Dismissible
Dismissible
Dismissible control. Build it with the dismissible helper.
Example
dismissible(
content: text("Dismissible"),
expand: true,
width: 240,
height: 120,
on_animation_end: ->(event) {}
)
Properties
adaptive— Adapts to the platform (Material/Cupertino) when true.backgroundcontent— The single child control rendered inside this control.cross_axis_end_offsetdismiss_directiondismiss_thresholdsmovement_durationresize_durationsecondary_background
Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).
Events
on_animation_end— Fired when an animation completes.on_confirm_dismiss— Fired on confirm dismiss.on_dismiss— Fired when the control is dismissed.on_resize— Fired when the control is resized.on_size_change— Fired when the control's size changes.on_update— Fired on update.
Reference
- Family:
shared - Widget type:
dismissible - Helper:
dismissible