返回介绍

Animation and motion widgets

发布于 2019-12-09 21:31:26 字数 21805 浏览 1049 评论 0 收藏 0

Bring animations to your app.

    See more widgets in the widget catalog.

    AnimatedContainer

    A container that gradually changes its values over a period of time.

    Documentation
    AnimatedCrossFade

    A widget that cross-fades between two given children and animates itself between their sizes.

    Documentation
    Hero

    A widget that marks its child as being a candidate for hero animations.

    Documentation
    AnimatedBuilder

    A general-purpose widget for building animations. AnimatedBuilder is useful for more complex widgets that wish to include an animation as part of a larger build function. To use AnimatedBuilder, simply construct the widget and pass it a builder function.

    Documentation
    DecoratedBoxTransition

    Animated version of a DecoratedBox that animates the different properties of its Decoration.

    Documentation
    FadeTransition

    Animates the opacity of a widget.

    Documentation
    PositionedTransition

    Animated version of Positioned which takes a specific Animation to transition the child's position from a start position to and end position over the lifetime of the animation.

    Documentation
    RotationTransition

    Animates the rotation of a widget.

    Documentation
    ScaleTransition

    Animates the scale of transformed widget.

    Documentation
    SizeTransition

    Animates its own size and clips and aligns the child.

    Documentation
    SlideTransition

    Animates the position of a widget relative to its normal position.

    Documentation
    AnimatedDefaultTextStyle

    Animated version of DefaultTextStyle which automatically transitions the default text style (the text style to apply to descendant Text widgets without explicit style) over a given duration whenever the given style changes.

    Documentation
    AnimatedListState

    The state for a scrolling container that animates items when they are inserted or removed.

    Documentation
    AnimatedModalBarrier

    A widget that prevents the user from interacting with widgets behind itself.

    Documentation
    AnimatedOpacity

    Animated version of Opacity which automatically transitions the child's opacity over a given duration whenever the given opacity changes.

    Documentation
    AnimatedPhysicalModel

    Animated version of PhysicalModel.

    Documentation
    AnimatedPositioned

    Animated version of Positioned which automatically transitions the child's position over a given duration whenever the given position changes.

    Documentation
    AnimatedSize

    Animated widget that automatically transitions its size over a given duration whenever the given child's size changes.

    Documentation
    AnimatedWidget

    A widget that rebuilds when the given Listenable changes value.

    Documentation
    AnimatedWidgetBaseState

    A base class for widgets with implicit animations.

    Documentation

    See more widgets in the widget catalog.

    如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

    扫码二维码加入Web技术交流群

    发布评论

    需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
    列表为空,暂无数据
      我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
      原文