buildToolbarWithActions abstract method
Widget
buildToolbarWithActions(
- BuildContext context,
- Rect globalEditableRegion,
- double textLineHeight,
- Offset position,
- List<
TextSelectionPoint> endpoints, - TextSelectionDelegate delegate,
- ClipboardStatusNotifier clipboardStatus,
- Offset? lastSecondaryTapDownPosition, {
- List<
CreamyTextSelectionToolbarAction> actions,
Build a toolbar which supports actions.
CreamyTextSelectionControlsProvider uses this to create toolbar with actions.
This callback is also called by the buildToolbar to create a toolbar without actions.
Implementation
Widget buildToolbarWithActions(
BuildContext context,
Rect globalEditableRegion,
double textLineHeight,
Offset position,
List<TextSelectionPoint> endpoints,
TextSelectionDelegate delegate,
ClipboardStatusNotifier clipboardStatus,
Offset? lastSecondaryTapDownPosition, {
List<CreamyTextSelectionToolbarAction> actions,
});