BuilkImageDraw constructor

BuilkImageDraw({
  1. Key? key,
  2. required String imageUrl,
  3. BuilkImageDrawController? controller,
  4. VoidCallback? loadPlanComplete,
  5. VoidCallback? drawComplete,
  6. VoidCallback? clearButton,
  7. VoidCallback? undoComplete,
  8. dynamic selectPin(
    1. ImageDataModel value
    )?,
  9. dynamic deletePin(
    1. ImageDataModel value
    )?,
  10. dynamic drawImageSuccess(
    1. bool value
    )?,
  11. bool isEditPin = false,
  12. List<ImageDataModel> drawStackBackList = const [],
  13. List<ImageDataModel> drawListView = const [],
})

Implementation

BuilkImageDraw({
  Key? key,
  required this.imageUrl,
  this.controller,
  this.loadPlanComplete,
  this.drawComplete,
  this.clearButton,
  this.undoComplete,
  this.selectPin,
  this.deletePin,
  this.drawImageSuccess,
  this.isEditPin = false,
  this.drawStackBackList = const[],
  this.drawListView = const[],
}) : super(key: key);