- 29 Jan, 2024 1 commit
-
-
Bryan Olivares authored
This PR is adding a flag parameter to the `TextField` widget. This flag controls whether the TextField ignores pointers. The flag takes priority over other TextField behaviors such as enabled, so it can be useful when trying to have a disabled TextField that can be scrolled (behavior observed using TextArea on the web). Adding a flag parameter to `TextField` helps with more customization and flexibility to the widget which can improve user experience. I am open to other ideas. Fixes issue #140147 Before: https://github.com/flutter/flutter/assets/66151079/293e5b4e-3126-4a00-824d-1530aeaa494b After: https://github.com/flutter/flutter/assets/66151079/08c1af09-3bf9-4b49-b684-dda4dd920503 Usage: ```dart child: TextField( ignorePointer: false, enabled: false, ), ```
-
- 14 Dec, 2023 1 commit
-
-
lsaudon authored
Add onTapAlwaysCalled in TextFormField *List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.* *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
-
- 29 Nov, 2023 1 commit
-
-
Renzo Olivares authored
This change adds support for a `MaterialStatesController` in `TextField` and `TextFormField`. With this change a user can listen to `MaterialState` changes in an input field by passing a `MaterialStatesController` to `TextField` or `TextFormField`. Fixes #133273
-
- 24 Oct, 2023 1 commit
-
-
lirantzairi authored
The color of the TextField's cursor in error state is the same as the error text color by default. However we should be allowed to customize it Fixes #135580
-
- 21 Sep, 2023 1 commit
-
-
Bruno Leroux authored
## Description This PR fixes form fields in order to call the `onChange` callback when the form is reset. This change is based on the work done in https://github.com/flutter/flutter/pull/123108. I considered adding the `onChange` callback to the `FormField` superclass but it would break existing code because two of the three subclasses defines the `onChange` callback with `ValueChanged<String>?` type and the third one defines it with `ValueChanged<String?>?`. ## Related Issue Fixes https://github.com/flutter/flutter/issues/123009. ## Tests Adds 3 tests.
-
- 24 May, 2023 1 commit
-
-
lsaudon authored
`TextFormField` does not have all the parameters of `TextField`. Added: ```dart UndoHistoryController? undoController, AppPrivateCommandCallback? onAppPrivateCommand, bool? cursorOpacityAnimates, ui.BoxHeightStyle selectionHeightStyle = ui.BoxHeightStyle.tight, ui.BoxWidthStyle selectionWidthStyle = ui.BoxWidthStyle.tight, DragStartBehavior dragStartBehavior = DragStartBehavior.start, ContentInsertionConfiguration? contentInsertionConfiguration, Clip clipBehavior = Clip.hardEdge, bool scribbleEnabled = true, bool canRequestFocus = true, ```
-
- 29 Mar, 2023 1 commit
-
-
Justin McCandless authored
TextFormField.spellCheckConfiguration
-
- 25 Jan, 2023 1 commit
-
-
Justin McCandless authored
-
- 24 Jan, 2023 1 commit
-
-
Michael Goderbauer authored
* dart fix --apply * manual fixes
-
- 11 Dec, 2022 1 commit
-
-
Ian Hickson authored
-
- 28 Oct, 2022 1 commit
-
-
Justin McCandless authored
* Can show context menus anywhere in the app, not just on text. * Unifies all desktop/mobile context menus to go through one class (ContextMenuController). * All context menus are now just plain widgets that can be fully customized. * Existing default context menus can be customized and reused.
-
- 29 Jul, 2022 1 commit
-
-
Greg Spencer authored
-
- 18 Jul, 2022 1 commit
-
-
Alexandre Ardhuin authored
-
- 16 Jun, 2022 1 commit
-
-
Ross Llewallyn authored
-
- 25 May, 2022 1 commit
-
-
Pierre-Louis authored
* Use `curly_braces_in_flow_control_structures` for `material` * include test/material * add back removed comments
-
- 14 Apr, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 21 Mar, 2022 1 commit
-
-
Pierre-Louis authored
* fix deprecated_new_in_comment_reference for `material` library in a future version of the SDK, these will be flagged, fix them now * Update pubspec.yaml
-
- 15 Mar, 2022 1 commit
-
-
Sahaj Rana authored
* Add 'mouseCursor' to TextFormField Added 'mouseCursor' to TextFormField. Related issue: https://github.com/flutter/flutter/issues/99770 * added test for 'mouseCursor' in TextFormField. added test for 'mouseCursor' in TextFormField. * Update packages/flutter/test/material/text_form_field_test.dart Co-authored-by:
Tong Mu <dkwingsmt@users.noreply.github.com> * Update packages/flutter/test/material/text_form_field_test.dart Co-authored-by:
Tong Mu <dkwingsmt@users.noreply.github.com> * Minor update: Added a space. * Removed icon & minor updates. Co-authored-by:
Tong Mu <dkwingsmt@users.noreply.github.com>
-
- 09 Mar, 2022 1 commit
-
-
Kate Lovett authored
-
- 08 Mar, 2022 2 commits
-
-
Kate Lovett authored
-
Kate Lovett authored
-
- 08 Feb, 2022 1 commit
-
-
Jonah Williams authored
-
- 14 Jan, 2022 1 commit
-
-
Greg Spencer authored
Before this change, it was possible to select and copy obscured text from a text field. This changes things so that: - Obscured text fields don't allow copy or cut. - If a field is both obscured and read-only, then selection is disabled as well (if you can't modify it, and can't copy it, there's no point in selecting it).
-
- 03 Dec, 2021 1 commit
-
-
Justin McCandless authored
SelectableText defers to EditableText for wantKeepAlive, plus improved docs.
-
- 14 Oct, 2021 1 commit
-
-
Kate Lovett authored
-
- 07 Oct, 2021 1 commit
-
-
Kate Lovett authored
-
- 06 Oct, 2021 1 commit
-
-
Kate Lovett authored
-
- 04 Oct, 2021 1 commit
-
-
Greg Spencer authored
This does a cleanup of the examples, removing all of the "section" markers and extra comments that we don't need anymore now that the samples are no longer in the source code. It also removes the --template arguments from the {@tool dartpad} and {@tool sample} directives, since those are no longer used. It converts two examples that I discovered were still embedded into linked examples in the examples folder. I didn't delete the templates from the snippets config folder yet, because there are still embedded samples in the dart:ui package from the engine that use them. Once dart:ui no longer uses the templates, they can be removed. I bumped the version of the snippets package to pick up a change that allows removal of the --template argument.
-
- 25 Aug, 2021 1 commit
-
-
Greg Spencer authored
This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
-
- 30 Jul, 2021 1 commit
-
-
Renzo Olivares authored
* Add requestPrivacy parameter to TextField * remove logs * No need to pass _Editable requestPrivacy for now * Forgot from last commit * Add requestPrivacy flag to text form field * Update docs * Add requestPrivacy to CupertinoTextField * Add test to verify requestPrivacy flag is sent to engine properly * update docs * fix tests * rename requestPrivacy to enableIMEPersonalizedLearning * Update text_input.dart * default to true * Have diagnostic properties default to true for enableIMEPersonalizedLearning
-
- 10 May, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 02 May, 2021 1 commit
-
-
Guilherme Henrique authored
-
- 26 Apr, 2021 1 commit
-
-
Tong Mu authored
Applies #78522 to existing code, by replacing all occurrences of LogicalKeySet to SingleActivator or ShortcutActivator.
-
- 14 Apr, 2021 1 commit
-
-
Shi-Hao Hong authored
* Restorable FormField and TextFormField
-
- 31 Mar, 2021 2 commits
-
-
Alexandre Ardhuin authored
-
Alexandre Ardhuin authored
-
- 12 Mar, 2021 1 commit
-
-
Greg Spencer authored
Update samples to use repo analysis options, Fix sample templates and a ton of analyzer issues (#77868)
-
- 09 Feb, 2021 1 commit
-
-
Chinmoy authored
-
- 16 Jan, 2021 1 commit
-
-
Kate Lovett authored
Add fixes for autovalidate deprecation in Form, FormField, TextFormField, and DropdownButtonFormField (#73996)
-
- 15 Dec, 2020 1 commit
-
-
Darren Austin authored
-