TapToOpenFab constructor

const TapToOpenFab({
  1. required double? openElevation,
  2. required VoidCallback toggle,
  3. required bool open,
  4. Widget? openIcon,
  5. Key? key,
})

Creates an instance of TapToOpenFab.

Requires open, toggle, and openElevation. The openIcon is optional.

Implementation

const TapToOpenFab({
  required this.openElevation,
  required this.toggle,
  required this.open,
  this.openIcon,
  Key? key,
}) : super(key: key);