Fab constructor

const Fab({
  1. Key? key,
  2. required Widget child,
  3. Widget? leading,
  4. VoidCallback? onPressed,
})

Implementation

const Fab({super.key, required this.child, this.leading, this.onPressed});