ActionItemModel constructor

const ActionItemModel({
  1. required String text,
  2. required IconData icon,
  3. required VoidCallback onPressed,
})

Can be used to provide action buttons in the AnimatedFab using instances of this class

Implementation

const ActionItemModel({
  required this.text,
  required this.icon,
  required this.onPressed,
});