1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Flutter 3.7.0 (#1556)

* Update `simplistic_editor` for Flutter 3.4 beta

* Re-enable beta and master CI

* Disable on master

* Added sample code for using plugins and channels from background isolates.

* goderbauer feedback 1

* goderbauer feedback2

* goderbauer feedback 3

* Add `background_isolate_channels` to CI

* Enable beta CI

* Enable all `stable` CI projects

* `dart fix --apply`

* `print` -> `denugPrint`

* Make deps min version not pinned

* Drop `_isDebug`

* Remove unused import

* `dart format`

* Fixup `linting_tool`

* Fixup `form_app`

* Enable all `master` CI

* Basic fixes

* Patch `simplistic_editor`

* Fix nl at eol

* Comment out `simplistic_editor`

* Incorporating @bleroux's latest changes

* Clean up CI scripts

* Copy `experimental/material_3_demo` to top level

* Update `game_template`

* Update `animations`

* Update `desktop_photo_search`

* Update `flutter_maps_firestore`

* Update `form_app`

* Update `infinite_list`

* Update `isolate_example`

* Update `jsonexample`

* Update `navigation_and_routing`

* Update `place_tracker`

* Update `platform_channels`

* Update `platform_design`

* Update `provider_shopper`

* Fixup `context_menus`

* `dart format`

* Update the main `material_3_demo`

* Make `tool/flutter_ci_script_stable.sh` executable again

Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
Co-authored-by: Aaron Clarke <aaclarke@google.com>
This commit is contained in:
Brett Morgan
2023-01-25 10:08:51 +11:00
committed by GitHub
parent 4ee2002665
commit 5401bb88b4
337 changed files with 4550 additions and 1516 deletions

View File

@@ -104,8 +104,7 @@ class _BasicTextFieldState extends State<BasicTextField> {
break;
}
return FocusTrapArea(
focusNode: widget.focusNode,
return TextFieldTapRegion(
child: GestureDetector(
behavior: HitTestBehavior.translucent,
onPanStart: (dragStartDetails) => _onDragStart(dragStartDetails),

View File

@@ -66,6 +66,15 @@ class BasicTextInputClientState extends State<BasicTextInputClient>
super.dispose();
}
@override
void didChangeInputControl(
TextInputControl? oldControl, TextInputControl? newControl) {
if (_hasFocus && _hasInputConnection) {
oldControl?.hide();
newControl?.show();
}
}
/// [DeltaTextInputClient] method implementations.
@override
void connectionClosed() {
@@ -100,6 +109,11 @@ class BasicTextInputClientState extends State<BasicTextInputClient>
// Will not implement.
}
@override
void performSelector(String selectorName) {
// Will not implement.
}
@override
void removeTextPlaceholder() {
// Will not implement. This method is used for Scribble support.
@@ -685,6 +699,7 @@ class BasicTextInputClientState extends State<BasicTextInputClient>
onSelectionHandleTapped: () {
_toggleToolbar();
},
magnifierConfiguration: TextMagnifierConfiguration.disabled,
);
} else {
_selectionOverlay!.update(_value);
@@ -757,7 +772,8 @@ class BasicTextInputClientState extends State<BasicTextInputClient>
textAlign: TextAlign.left,
textDirection: _textDirection,
locale: Localizations.maybeLocaleOf(context),
textHeightBehavior: DefaultTextHeightBehavior.of(context),
textHeightBehavior:
DefaultTextHeightBehavior.maybeOf(context),
textWidthBasis: TextWidthBasis.parent,
obscuringCharacter: '',
obscureText: