Home
last modified time | relevance | path

Searched refs:EditableText (Results 1 – 25 of 39) sorted by relevance

12

/third_party/flutter/flutter/packages/flutter/test/widgets/
Deditable_text_show_on_screen_test.dart28 EditableText(
44 // Scroll the EditableText half off screen.
45 final RenderBox render = tester.renderObject(find.byType(EditableText));
50 await tester.showKeyboard(find.byType(EditableText));
70 EditableText(
87 // Scroll the EditableText half off screen.
88 final RenderBox render = tester.renderObject(find.byType(EditableText));
93 await tester.showKeyboard(find.byType(EditableText));
116 EditableText(
132 // Focus the EditableText and scroll it off screen.
[all …]
Deditable_text_test.dart20 final FocusNode focusNode = FocusNode(debugLabel: 'EditableText Node');
21 final FocusScopeNode focusScopeNode = FocusScopeNode(debugLabel: 'EditableText Scope Node');
42 // More technically, when an EditableText is given a particular [action], Flutter
58 child: EditableText(
71 await tester.tap(find.byType(EditableText));
72 await tester.showKeyboard(find.byType(EditableText));
86 child: EditableText(
97 final EditableText editableText =
98 tester.firstWidget(find.byType(EditableText));
115 child: EditableText(
[all …]
Deditable_text_cursor_test.dart27 child: EditableText(
37 final EditableText editableText = tester.firstWidget(find.byType(EditableText));
50 child: EditableText(
107 child: EditableText(
168 final EditableTextState editableTextState = tester.firstState(find.byType(EditableText));
224 final EditableTextState editableTextState = tester.firstState(find.byType(EditableText));
251 EditableText.debugDeterministicCursor = true;
265 final EditableTextState editableTextState = tester.firstState(find.byType(EditableText));
285 EditableText.debugDeterministicCursor = false;
289 EditableText.debugDeterministicCursor = true;
[all …]
Dselectable_text_test.dart138 final RenderObject root = tester.renderObject(find.byType(EditableText));
368 final EditableTextState editableText = tester.state(find.byType(EditableText));
403 final EditableTextState state = tester.state<EditableTextState>(find.byType(EditableText));
421 final EditableText editableText = tester.widget(find.byType(EditableText));
444 final EditableText editableText = tester.widget(find.byType(EditableText));
467 final EditableText editableText = tester.widget(find.byType(EditableText));
490 final EditableText editableText = tester.widget(find.byType(EditableText));
546 final EditableText editableText = tester.widget(find.byType(EditableText));
568 final EditableText editableTextWidget = tester.widget(find.byType(EditableText));
579 final EditableTextState editableText = tester.state(find.byType(EditableText));
[all …]
Deditable_text_utils.dart11 final RenderObject root = tester.renderObject(find.byType(EditableText));
Dform_test.dart223 final EditableTextState editableText = tester.state(find.byType(EditableText));
268 final EditableTextState editableText = tester.state(find.byType(EditableText));
310 final EditableTextState editableText = tester.state(find.byType(EditableText));
367 final EditableTextState editableText = tester.state(find.byType(EditableText));
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Dtext_field_test.dart133 final RenderObject root = tester.renderObject(find.byType(EditableText));
173 EditableText.debugDeterministicCursor = false;
397 final EditableText editableText = tester.firstWidget(find.byType(EditableText));
414 final EditableTextState editableTextState = tester.firstState(find.byType(EditableText));
448 final EditableTextState editableTextState = tester.firstState(find.byType(EditableText));
566 final EditableText inputText = tester.widget(find.text('input'));
621 final EditableText inputText = tester.widget(find.text('input'));
645 tester.getTopLeft(find.byType(EditableText)).dx,
649 tester.getTopLeft(find.byType(EditableText)).dx,
674 tester.getTopLeft(find.byType(EditableText)).dx,
[all …]
Dtext_selection_test.dart19 home: EditableText(
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Draw_keyboard_listener.dart22 /// For text entry, consider using a [EditableText], which integrates with
27 /// * [EditableText], which should be used instead of this widget for text
32 /// For text entry, consider using a [EditableText], which integrates with
Deditable_text.dart117 /// * [EditableText], which is a raw region of editable text that can be
225 /// Toolbar configuration for [EditableText].
228 /// press the [EditableText]. It includes several options: cut, copy, paste,
231 /// [EditableText] and its derived widgets have their own default [ToolbarOptions].
255 /// If [EditableText.readOnly] is set to true, cut will be disabled regardless.
262 /// If [EditableText.readOnly] is set to true, paste will be disabled regardless.
289 /// EditableText receives focus. For example, providing iOS's "emergencyCall"
328 class EditableText extends StatefulWidget {
348 EditableText({
502 /// The cursor refers to the blinking caret when the [EditableText] is focused.
[all …]
Dtext_selection.dart814 /// [EditableText], that use a [TextSelectionGestureDetectorBuilder] to build a
815 /// [TextSelectionGestureDetector] for their [EditableText]. The delegate provides
825 /// [GlobalKey] to the [EditableText] for which the
836 /// Builds a [TextSelectionGestureDetector] to wrap an [EditableText].
839 /// with an [EditableText] (see the documentation of the various gesture handler
845 /// The resulting [TextSelectionGestureDetector] to wrap an [EditableText] is
851 /// gesture logic of an [EditableText].
853 /// Cupertino-specific gesture logic of an [EditableText].
878 /// The [State] of the [EditableText] for which the builder will provide a
883 /// The [RenderObject] of the [EditableText] for which the builder will
[all …]
/third_party/skia/experimental/sktext/editor/
DTexts.cpp34 void EditableText::paint(SkCanvas* canvas) { in paint()
52 SkTArray<DecoratedBlock> EditableText::mergeSelectionIntoDecorations() { in mergeSelectionIntoDecorations()
DSelection.h42 friend class EditableText;
DEditor.h52 std::unique_ptr<EditableText> fEditableText;
DTexts.h140 class EditableText : public DynamicText {
142EditableText(std::u16string text, SkPoint offset, SkSize size, SkSpan<FontBlock> fontBlocks, SkSpa… in EditableText() function
DEditor.cpp27 fEditableText = std::make_unique<EditableText>( in Editor()
/third_party/flutter/flutter/examples/stocks/test/
Dsearch_test.dart41 await tester.enterText(find.byType(EditableText), 'B');
47 await tester.enterText(find.byType(EditableText), 'X');
/third_party/flutter/flutter/packages/flutter/lib/src/services/
Dtext_formatter.dart10 /// A [TextInputFormatter] can be optionally injected into an [EditableText]
27 /// * [EditableText] on which the formatting apply.
33 /// Called when text is being typed or cut/copy/pasted in the [EditableText].
/third_party/flutter/flutter/packages/flutter/test/material/
Dtext_field_test.dart145 final RenderObject root = tester.renderObject(find.byType(EditableText));
204 testWidgets('TextField passes onEditingComplete to EditableText', (WidgetTester tester) async {
217 final Finder editableTextFinder = find.byType(EditableText);
220 final EditableText editableTextWidget = tester.widget(editableTextFinder);
278 final EditableTextState editableText = tester.state(find.byType(EditableText));
298 // Try the test again with a nonempty EditableText.
321 final EditableTextState editableTextState = tester.firstState(find.byType(EditableText));
357 final EditableTextState editableTextState = tester.firstState(find.byType(EditableText));
485 final EditableTextState state = tester.state<EditableTextState>(find.byType(EditableText));
510 EditableText.debugDeterministicCursor = true;
[all …]
Dtext_selection_test.dart19 home: EditableText(
/third_party/flutter/flutter/packages/flutter/test/cupertino/material/
Dtab_scaffold_test.dart198 …final EditableTextState editableState = tester.state<EditableTextState>(find.byType(EditableText));
221 expect(tester.state<EditableTextState>(find.byType(EditableText)), editableState);
/third_party/flutter/flutter/packages/flutter_test/lib/src/
Dwidget_tester.dart685 /// The widget specified by [finder] must be an [EditableText] or have
686 /// an [EditableText] descendant. For example `find.byType(TextField)`
687 /// or `find.byType(TextFormField)`, or `find.byType(EditableText)`.
696 matching: find.byType(EditableText),
708 /// The widget specified by [finder] must be an [EditableText] or have
709 /// an [EditableText] descendant. For example `find.byType(TextField)`
710 /// or `find.byType(TextFormField)`, or `find.byType(EditableText)`.
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/
Dtext_field.dart50 /// surrounding the [EditableText] such as the clear text button.
161 /// * [EditableText], which is the raw text editing control at the heart of a
474 /// * [EditableText.onSubmitted] for an example of how to handle moving to
743 // In the middle part, stack the placeholder on top of the main EditableText
825 child: EditableText(
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dtext_field.dart197 /// * [EditableText], which is the raw text editing control at the heart of a
198 /// [TextField]. The [EditableText] widget is rarely used directly unless
362 /// This widget builds an [EditableText] and will ensure that the keyboard is
519 /// * [EditableText.onSubmitted] for an example of how to handle moving to
972 child: EditableText(
/third_party/flutter/flutter/packages/flutter/test/rendering/
Deditable_test.dart110 EditableText.debugDeterministicCursor = true;
185 EditableText.debugDeterministicCursor = true;

12