animationPropertyDefaultInitMap top-level property
Implementation
Map<AnimationProperty, dynamic> animationPropertyDefaultInitMap = {
AnimationProperty.opacity: 1.0,
AnimationProperty.alignment: Alignment.center,
AnimationProperty.width: null,
AnimationProperty.height: null,
AnimationProperty.margin: EdgeInsets.zero,
AnimationProperty.padding: EdgeInsets.zero,
AnimationProperty.backgroundDecoration: BoxDecoration(),
AnimationProperty.foregroundDecoration: BoxDecoration(),
AnimationProperty.shadows: <ShapeShadow>[],
AnimationProperty.insetShadows: <ShapeShadow>[],
AnimationProperty.shapeBorder: RectangleShapeBorder(),
AnimationProperty.transform: Matrix4.identity(),
AnimationProperty.transformAlignment: Alignment.center,
AnimationProperty.childAlignment: Alignment.center,
AnimationProperty.textStyle: TextStyle(),
};