|
|
),
|
|
|
onSelectionChanged: (_, __, ___) { },
|
|
|
);
|
|
|
editable.layout(BoxConstraints.loose(const Size(1000.0, 1000.0)));
|
|
|
/// Whether the [handleEvent] will propagate pointer events to selection
|
|
|
/// handlers.
|
|
|
///
|
|
|
/// If this property is true, the [handleEvent] assumed that this renderer
|
|
|
/// will be notified of input gestures via [handleTapDown], [handleTap],
|
|
|
/// [handleDoubleTap], and [handleLongPress].
|
|
|
///
|
|
|
/// If there is any gesture recognizers in the text span, the [handleEvent] will
|
|
|
if (event is PointerDownEvent) {
|
|
|
// Checks if there is any gesture recognizer in the text span.
|
|
|
final Offset offset = entry.localPosition;
|
|
|
_layoutText(minWidth: constraints.minWidth, maxWidth: constraints.maxWidth);
|
|
|
if (event is PointerDownEvent) {
|
|
|
// Checks if there is any gesture recognizer in the text span.
|
|
|
final Offset offset = entry.localPosition;
|
|
|
_layoutText(minWidth: constraints.minWidth, maxWidth: constraints.maxWidth);
|