TextSelectionToolbarTextButton constructor Null safety

const TextSelectionToolbarTextButton(
  1. {Key? key,
  2. required Widget child,
  3. required EdgeInsets padding,
  4. VoidCallback? onPressed}
)

Creates an instance of TextSelectionToolbarTextButton.

Implementation

const TextSelectionToolbarTextButton({
  super.key,
  required this.child,
  required this.padding,
  this.onPressed,
});