BottomAnimation class

A widget that applies a slide-up animation to its child widget.

This widget animates its child from bottom to top when it appears on the screen.

Inheritance
Available extensions

Constructors

BottomAnimation({Key? key, required Widget child})
Creates a BottomAnimation widget.
const

Properties

child → Widget
The widget to be animated.
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

alignBottomCenter({double? width, double? height}) → Widget

Available on Widget, provided by the AlignmentWidgetExtension extension

Aligns the widget to the bottom-center of its parent container. Optionally, width and height can be provided to constrain the widget's size.
alignBottomLeft({double? width, double? height}) → Widget

Available on Widget, provided by the AlignmentWidgetExtension extension

Aligns the widget to the bottom-left corner of its parent container. Optionally, width and height can be provided to constrain the widget's size.
alignBottomRight({double? width, double? height}) → Widget

Available on Widget, provided by the AlignmentWidgetExtension extension

Aligns the widget to the bottom-right corner of its parent container. Optionally, width and height can be provided to constrain the widget's size.
alignCenter({double? width, double? height}) → Widget

Available on Widget, provided by the AlignmentWidgetExtension extension

Aligns the widget to the center of its parent container. Optionally, width and height can be provided to constrain the widget's size.
alignTopCenter({double? width, double? height}) → Widget

Available on Widget, provided by the AlignmentWidgetExtension extension

Aligns the widget to the top-center of its parent container. Optionally, width and height can be provided to constrain the widget's size.
alignTopLeft({double? width, double? height}) → Widget

Available on Widget, provided by the AlignmentWidgetExtension extension

Aligns the widget to the top-left corner of its parent container. Optionally, width and height can be provided to constrain the widget's size.
alignTopRight({double? width, double? height}) → Widget

Available on Widget, provided by the AlignmentWidgetExtension extension

Aligns the widget to the top-right corner of its parent container. Optionally, width and height can be provided to constrain the widget's size.
all(double value) → Widget

Available on Widget, provided by the PaddingExtension extension

Applies uniform padding on all sides.
center({Key? key, double? heightFactor, double? widthFactor}) → Widget

Available on Widget, provided by the CenteredWidget extension

Wraps the widget with a Center widget.
createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<BottomAnimation>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
expanded({int flex = 1, Key? key}) → Expanded

Available on Widget, provided by the WidgetLayoutExtensions extension

Wraps this widget in an Expanded.
fittedBox({Key? key, BoxFit fit = BoxFit.contain, AlignmentGeometry alignment = Alignment.center, Clip clipBehavior = Clip.none}) → Widget

Available on Widget, provided by the WidgetLayoutExtensions extension

Wraps this widget in a FittedBox.
flexible({int flex = 1, FlexFit fit = FlexFit.loose, Key? key}) → Flexible

Available on Widget, provided by the WidgetLayoutExtensions extension

Wraps this widget in a Flexible.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
only({double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0}) → Widget

Available on Widget, provided by the PaddingExtension extension

Applies padding to specific sides.
onTap(VoidCallback? onTap, {Key? key, BorderRadius? borderRadius, Color? splashColor, Color? highlightColor}) → Widget

Available on Widget, provided by the WidgetLayoutExtensions extension

Wraps this widget in an InkWell with an onTap handler.
opacity(double opacity, {Key? key, bool alwaysIncludeSemantics = false}) → Opacity

Available on Widget, provided by the WidgetLayoutExtensions extension

Wraps this widget in an Opacity.
overScrollOff() → Widget

Available on Widget, provided by the OverScrollOffExtension extension

Wraps the SingleChildScrollView with an _OverScrollOff widget to disable the overscroll indicator.
rotate({required double angle, Key? key, Offset? origin, AlignmentGeometry alignment = Alignment.center}) → Widget

Available on Widget, provided by the WidgetLayoutExtensions extension

Wraps this widget in a Transform.rotate widget.
safeArea({Key? key, bool left = true, bool top = true, bool right = true, bool bottom = true, EdgeInsets minimum = EdgeInsets.zero, bool maintainBottomViewPadding = false}) → Widget

Available on Widget, provided by the WidgetLayoutExtensions extension

Wraps this widget in a SafeArea.
shrink() → Widget

Available on Widget?, provided by the WidgetExtensions extension

Returns the widget if it's not null; otherwise, returns an empty SizedBox.shrink().
symmetric({double vertical = 0.0, double horizontal = 0.0}) → Widget

Available on Widget, provided by the PaddingExtension extension

Applies padding symmetrically along vertical and horizontal axes.
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited
visibility({Key? key, required bool visible, bool maintainState = false, bool maintainAnimation = false, bool maintainSize = false, bool maintainSemantics = false, bool maintainInteractivity = false, Widget replacement = const SizedBox.shrink()}) → Visibility

Available on Widget, provided by the WidgetLayoutExtensions extension

Wraps this widget in a Visibility widget.

Operators

operator ==(Object other) → bool
The equality operator.
inherited