SSpreadsheetZoomControlBuilder typedef
SSpreadsheetZoomControlBuilder =
Widget Function(BuildContext context, {required SSpreadsheetZoomAction action, required bool isEnabled, required String label, required VoidCallback onTap})
Builds one part of an SSpreadsheetZoomControls.
label is the factor rendered as a percentage (e.g. 125%), ready for the
reset part to show; the other actions ignore it. onTap is only ever
wired when isEnabled; a builder may render the disabled state however it
likes.
Implementation
typedef SSpreadsheetZoomControlBuilder = Widget Function(
BuildContext context, {
required SSpreadsheetZoomAction action,
required bool isEnabled,
required String label,
required VoidCallback onTap,
});