StackCanvas constructor

const StackCanvas({
  1. double width = double.maxFinite,
  2. double height = double.maxFinite,
  3. Color backgroundColor = Colors.white,
  4. Duration animationDuration = const Duration(milliseconds: 400),
  5. required StackCanvasController canvasController,
  6. bool disposeController = true,
})

Implementation

const StackCanvas({
  this.width = double.maxFinite,
  this.height = double.maxFinite,
  this.backgroundColor = Colors.white,
  this.animationDuration = const Duration(milliseconds: 400),
  required this.canvasController,
  this.disposeController = true,
});