AppAction<M extends Object> constructor

const AppAction<M extends Object>({
  1. required String label,
  2. Widget? icon,
  3. void onPressed()?,
  4. String? tooltip,
})

Implementation

const AppAction({
  required this.label,
  Widget? icon,
  this.onPressed,
  this.tooltip,
}) : _icon = icon ?? const SizedBox();