DistancedWidgets constructor

DistancedWidgets({
  1. required Widget top,
  2. required Widget bottom,
  3. required void onBottomHide(),
  4. required void onBottomShow(),
  5. Key? key,
})

Implementation

DistancedWidgets({
  required Widget top,
  required Widget bottom,
  required this.onBottomHide,
  required this.onBottomShow,
  Key? key,
}) : super(children: [top, bottom], key: key);