TextSelectionToolbarItemData constructor

const TextSelectionToolbarItemData({
  1. required String label,
  2. required dynamic onPressed(
    1. String text
    ),
  3. required Color color,
  4. required double fontSize,
  5. Widget? icon,
})

Implementation

const TextSelectionToolbarItemData({
  required this.label,
  required this.onPressed,
  required this.color,
  required this.fontSize,
  this.icon,
});