TurtleView constructor

const TurtleView({
  1. Key? key,
  2. required List<TurtleCommand> commands,
  3. Widget? child,
  4. bool isComplex = false,
  5. Size size = Size.zero,
})

Creates a new instance.

Implementation

const TurtleView({
  super.key,
  required this.commands,
  this.child,
  this.isComplex = false,
  this.size = Size.zero,
});