XDropRegion constructor

const XDropRegion({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. bool isOver
    ),
  3. ValueChanged<List<XDropFile>>? onPerform,
  4. VoidCallback? onEnter,
  5. VoidCallback? onExit,
  6. bool enable = true,
})

Creates a drop region.

Implementation

const XDropRegion({
  super.key,
  required this.builder,
  this.onPerform,
  this.onEnter,
  this.onExit,
  this.enable = true,
});