AnimationDefinition constructor

const AnimationDefinition({
  1. AnimationPreferences preferences = const AnimationPreferences(),
  2. bool needsWidgetSize = false,
  3. bool needsScreenSize = false,
  4. double preRenderOpacity = 1.0,
})

Constructor with all parameters' defaults.

Implementation

const AnimationDefinition({
  this.preferences = const AnimationPreferences(),
  this.needsWidgetSize = false,
  this.needsScreenSize = false,
  this.preRenderOpacity = 1.0,
});