- 10 Nov, 2023 1 commit
-
-
Kostia Sokolovskyi authored
-
- 11 Oct, 2023 1 commit
-
-
Polina Cherkasova authored
Fix flakiness: finalize dropped gestures in tests to release resources, and update doc-comment. (#136136)
-
- 18 Sep, 2023 1 commit
-
-
Kostia Sokolovskyi authored
-
- 31 Aug, 2023 1 commit
-
-
yaakovschectman authored
Add derived classes from the Darwin platform view base classes for MacOS. Functionality is largely the same as the `UiKitView`, but the two are decoupled and and can further diverge in the future as needed. Some unit tests remain skipped for now as the gesture recognizers for MacOS are not yet implemented. https://github.com/flutter/flutter/issues/128519 ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [ ] I signed the [CLA]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview [Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene [test-exempt]: https://github.com/flutter/flutter/wiki/Tree-hygiene#tests [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [Features we expect every widget to implement]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/wiki/Chat --------- Co-authored-by: Chris Bracken <chris@bracken.jp>
-
- 07 Aug, 2023 1 commit
-
-
Mouad Debbar authored
This wraps up the platform view improvements discussed in https://github.com/flutter/flutter/issues/127030. - Splits `HtmlElementView` into 2 files that are conditionally imported. - The non-web version can be instantiated but it throws if it ends up being built in a widget tree. - Out-of-the-box view factories that create visible & invisible DOM elements given a `tagName` parameter. - New `HtmlElementView.fromTagName()` constructor that uses the default factories to create DOM elements. - Tests covering the new API. Depends on https://github.com/flutter/engine/pull/43828 Fixes https://github.com/flutter/flutter/issues/127030
-
- 16 Jun, 2023 1 commit
-
-
Mouad Debbar authored
Previously, when the code contained `const HtmlElementView()` it would break even if it's guarded by `if (kIsWeb)`. This PR makes it such that `const HtmlElementView()` is allowed but it still throws if it gets inserted into the widget tree by mistake on non-web platforms. One improvement we can make in the future is to have a conditional import: - `_html_element_view_web.dart` that contains the real `HtmlElementView` that can only be instantiated on web. - `_html_element_view_io.dart` that contains a stub with an unimplemented `build()` method. Fixes https://github.com/flutter/flutter/issues/43532
-
- 05 Apr, 2023 1 commit
-
-
hellohuanlin authored
[platform_view]fix iOS platform view's focus node leakage
-
- 14 Mar, 2023 1 commit
-
-
pdblasi-google authored
Updates `flutter/test/widgets` to no longer reference `TestWindow`
-
- 08 Feb, 2023 1 commit
-
-
Gabriel Terwesten authored
* Don't call `PlatformViewCreatedCallback`s after `AndroidViewController` is disposed Before this change it was possible that, if a `AndroidViewController` was disposed before we got the notification that the platform view was created, `PlatformViewCreatedCallback`s where called even after calling `AndroidViewController.dispose`. Also makes `_PlatformViewLinkState._onPlatformViewCreated` more carful to only call `setState` when mounted. Closes #84628 Closes #96384 * Allow all widgets to remove listeners from controller * Remove assert * Add expectations to test
-
- 17 Jan, 2023 1 commit
-
-
Greg Spencer authored
* Rename _*Marker classes to be _*Scope, for consistency * [EMPTY] Commit to refresh the tree that is currently red (#118062) * Fix remaining tests Co-authored-by: Drew Roen <102626803+drewroengoogle@users.noreply.github.com>
-
- 21 Dec, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 20 Dec, 2022 1 commit
-
-
Michael Goderbauer authored
* Enable lint * note about discarded_futures * note about use_decorated_box * update note on require_trailing_commas
-
- 17 Dec, 2022 1 commit
-
-
Michael Goderbauer authored
Reland "Inject current FlutterView into tree and make available via `View.of(context)` (#116924)" (#117244) * Reland "Inject current `FlutterView` into tree and make available via `View.of(context)` (#116924)" This reverts commit 9102f2fe. * remove window placeholder
-
- 16 Dec, 2022 2 commits
-
-
Casey Hillers authored
Revert "Inject current `FlutterView` into tree and make available via `View.of(context)` (#116924)" (#117214) This reverts commit a34e4194.
-
Michael Goderbauer authored
* enable View.of * tests * ++ * greg review * rewording * hide view from public
-
- 15 Nov, 2022 1 commit
-
-
Maurice Parrish authored
* add position to layout creation * make position nullable * fix tests * test * clear test size * clear device pixel ratio * add more documentaiton * add comment about localToGlobal
-
- 05 Oct, 2022 1 commit
-
-
stuartmorgan authored
-
- 21 Sep, 2022 1 commit
-
-
stuartmorgan authored
-
- 12 Aug, 2022 1 commit
-
-
stuartmorgan authored
-
- 11 Aug, 2022 2 commits
-
-
Casey Hillers authored
Merging on red to green the build.
-
stuartmorgan authored
-
- 23 Jun, 2022 1 commit
-
-
hellohuanlin authored
-
- 08 Jun, 2022 1 commit
-
-
Alexandre Ardhuin authored
-
- 24 May, 2022 1 commit
-
-
hellohuanlin authored
-
- 20 May, 2022 1 commit
-
-
Tong Mu authored
-
- 07 Apr, 2022 1 commit
-
-
Emmanuel Garcia authored
-
- 30 Mar, 2022 1 commit
-
-
Emmanuel Garcia authored
-
- 29 Mar, 2022 2 commits
-
-
Zachary Anderson authored
This reverts commit 61c30eed.
-
Emmanuel Garcia authored
-
- 24 Mar, 2022 1 commit
-
-
Emmanuel Garcia authored
This reverts commit d92fedcc.
-
- 17 Mar, 2022 1 commit
-
-
Emmanuel Garcia authored
-
- 16 Mar, 2022 2 commits
-
-
Zachary Anderson authored
This reverts commit 509ddfda.
-
Emmanuel Garcia authored
-
- 14 Mar, 2022 1 commit
-
-
Emmanuel Garcia authored
-
- 08 Oct, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 5fd259be.
-
Ian Hickson authored
-
- 31 Aug, 2021 1 commit
-
-
Alexander Dahlberg authored
-
- 27 Jul, 2021 1 commit
-
-
Greg Spencer authored
* Randomize tests, exclude tests that fail with randomization. * Disable some more tool tests
-
- 01 Jul, 2021 1 commit
-
-
Greg Spencer authored
This reverts commit b5f9612c because it is taking about 40% longer to run the tests, which is causing timeouts.
-