AnimationSheetBuilder constructor

AnimationSheetBuilder(
  1. {required Size frameSize,
  2. bool allLayers = false}
)

Starts a session of building an animation sheet.

The frameSize is a tight constraint for the child to be recorded, and must not be null.

The allLayers controls whether to record elements drawn out of the subtree, and defaults to false.

Implementation

AnimationSheetBuilder({
  required this.frameSize,
  this.allLayers = false,
}) : assert(!kIsWeb);