ToggleStyleButtonBuilder typedef Null safety

ToggleStyleButtonBuilder = Widget Function(BuildContext context, Attribute attribute, IconData icon, Color? fillColor, bool? isToggled, VoidCallback? onPressed, [double iconSize, QuillIconTheme? iconTheme])

Implementation

typedef ToggleStyleButtonBuilder = Widget Function(
  BuildContext context,
  Attribute attribute,
  IconData icon,
  Color? fillColor,
  bool? isToggled,
  VoidCallback? onPressed, [
  double iconSize,
  QuillIconTheme? iconTheme,
]);