getDefinition abstract method

Map<String, TweenList> getDefinition({
  1. Size? screenSize,
  2. Size? widgetSize,
})

AnimatorWidget calls getDefinition to gather the animation. Animations are defined using named TweenLists using a Map<String, TweenList>. Example: @override Map<String, TweenList> getDefinition({Size screenSize, Size widgetSize}) { return { "opacity": TweenList

Implementation

Map<String, TweenList> getDefinition({Size? screenSize, Size? widgetSize});