FreeDrawController constructor

FreeDrawController({
  1. Color strokeColor = Colors.black,
  2. double strokeWidth = 1,
})

Implementation

FreeDrawController({this.strokeColor = Colors.black, this.strokeWidth = 1}) {
  _history = _History();
  _painter = _Painter(_history);
}