TopParentBox<T extends GroupBase> constructor

const TopParentBox<T extends GroupBase>({
  1. Key? key,
  2. required Widget child,
  3. required Border? initialBorder,
  4. required Border? highlightedBorder,
  5. required dynamic onAccept(
    1. Parent<T> source,
    2. T? destination
    )?,
})

Implementation

const TopParentBox({
  Key? key,
  required this.child,
  required this.initialBorder,
  required this.highlightedBorder,
  required this.onAccept,
}) : super(key: key);