StockholmToolbarButton constructor

const StockholmToolbarButton({
  1. required IconData icon,
  2. required VoidCallback onPressed,
  3. String? label,
  4. double minWidth = 32.0,
  5. Color? color,
  6. bool selected = false,
  7. double iconSize = 16.0,
  8. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 8),
  9. double height = 32.0,
  10. Key? key,
})

Implementation

const StockholmToolbarButton({
  required this.icon,
  required this.onPressed,
  this.label,
  this.minWidth = 32.0,
  this.color,
  this.selected = false,
  this.iconSize = 16.0,
  this.padding = const EdgeInsets.symmetric(horizontal: 8),
  this.height = 32.0,
  Key? key,
}) : super(key: key);