createState method

  1. @override
State<CustomDraggable> createState()
override

/ Overriding the createState method to return a new instance of _CustomDraggableState

Implementation

@override
  State<CustomDraggable> createState() => _CustomDraggableState();