Unverified Commit 97df4033 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

TweenAnimationBuilder for building custom animations without managing an...

TweenAnimationBuilder for building custom animations without managing an AnimationController (#38317)
parent 98ef9560
...@@ -247,6 +247,8 @@ class TextStyleTween extends Tween<TextStyle> { ...@@ -247,6 +247,8 @@ class TextStyleTween extends Tween<TextStyle> {
/// usually named `AnimatedFoo`, where `Foo` is the name of the non-animated /// usually named `AnimatedFoo`, where `Foo` is the name of the non-animated
/// version of that widget. Commonly used implicitly animated widgets include: /// version of that widget. Commonly used implicitly animated widgets include:
/// ///
/// * [TweenAnimationBuilder], which animates any property expressed by
/// a [Tween] to a specified target value.
/// * [AnimatedAlign], which is an implicitly animated version of [Align]. /// * [AnimatedAlign], which is an implicitly animated version of [Align].
/// * [AnimatedContainer], which is an implicitly animated version of /// * [AnimatedContainer], which is an implicitly animated version of
/// [Container]. /// [Container].
......
...@@ -917,6 +917,11 @@ class DefaultTextStyleTransition extends AnimatedWidget { ...@@ -917,6 +917,11 @@ class DefaultTextStyleTransition extends AnimatedWidget {
/// } /// }
/// ``` /// ```
/// {@end-tool} /// {@end-tool}
///
/// See also:
///
/// * [TweenAnimationBuilder], which animates a property to a target value
/// without requiring manual management of an [AnimationController].
class AnimatedBuilder extends AnimatedWidget { class AnimatedBuilder extends AnimatedWidget {
/// Creates an animated builder. /// Creates an animated builder.
/// ///
......
This diff is collapsed.
...@@ -106,6 +106,7 @@ export 'src/widgets/texture.dart'; ...@@ -106,6 +106,7 @@ export 'src/widgets/texture.dart';
export 'src/widgets/ticker_provider.dart'; export 'src/widgets/ticker_provider.dart';
export 'src/widgets/title.dart'; export 'src/widgets/title.dart';
export 'src/widgets/transitions.dart'; export 'src/widgets/transitions.dart';
export 'src/widgets/tween_animation_builder.dart';
export 'src/widgets/unique_widget.dart'; export 'src/widgets/unique_widget.dart';
export 'src/widgets/value_listenable_builder.dart'; export 'src/widgets/value_listenable_builder.dart';
export 'src/widgets/viewport.dart'; export 'src/widgets/viewport.dart';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment