MagicFab constructor

const MagicFab({
  1. Key? key,
  2. required Widget child,
  3. Widget? leading,
  4. VoidCallback? onPressed,
  5. double threshold = 350,
})

Implementation

const MagicFab(
    {super.key,
    required this.child,
    this.leading,
    this.onPressed,
    this.threshold = 350});