INNER CODE UNIT · Dart

AnimateDoBaseState

Klerith/animate_do_package · lib/src/types/animate_do_base.dart:84

abstract class AnimateDoBaseState<T extends AnimateDoBaseWidget>
    extends State<T>
    with SingleTickerProviderStateMixin, AnimateDoState {
  /// Build the animations driven by `controller`. Called from `initState`
  /// after `controller` has been created.
  @protected
  void createTweens();

  /// Returns the transformed widget for the current animation tick. The
  /// [child] argument is the unchanged `widget.child`, ready to be wrapped
  /// in `Transform`, `Opacity`, etc.
  @protected
  Widget buildAnimatedChild(BuildContext context, Widget child);

  @override
  void initState() {
    super.initState();
    controller = AnimationController(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…