DevToolsButton.iconOnly constructor

DevToolsButton.iconOnly({
  1. required IconData icon,
  2. String? tooltip,
  3. VoidCallback? onPressed,
  4. bool outlined = true,
})

Implementation

factory DevToolsButton.iconOnly({
  required IconData icon,
  String? tooltip,
  VoidCallback? onPressed,
  bool outlined = true,
}) {
  return DevToolsButton(
    icon: icon,
    outlined: outlined,
    tooltip: tooltip,
    onPressed: onPressed,
  );
}