- 23 Feb, 2024 1 commit
-
-
Nate authored
This pull request fixes #143803 by taking advantage of Dart's null-aware operators. And unlike `switch` expressions ([9 PRs](https://github.com/flutter/flutter/pull/143634) and counting), the Flutter codebase is already fantastic when it comes to null-aware coding. After refactoring the entire repo, all the changes involving `?.` and `??` can fit into a single pull request.
-
- 02 Feb, 2024 1 commit
-
-
Luccas Clezar authored
The CupertinoTextSelectionToolbar sets the maxWidth of the whole toolbar to the width of the first page. This ends up clipping other pages from the toolbar. This PR just removes this limitation. It was easy enough that I thought there was a catch, but I ran the tests locally and they all passed. |Before|After| |-|-| |![Simulator Screenshot - iPhone XÊ - 2023-11-09 at 19 45 29](https://github.com/flutter/flutter/assets/12024080/c84c40b9-3b02-48bf-9e87-17a9e4cfb461)|![Simulator Screenshot - iPhone XÊ - 2023-11-09 at 19 44 30](https://github.com/flutter/flutter/assets/12024080/0c3d829b-952e-462b-9f02-8a2833c6f65d)| https://github.com/flutter/flutter/issues/138177
-
- 10 Jan, 2024 1 commit
-
-
Polina Cherkasova authored
Contributes to https://github.com/flutter/devtools/issues/6909.
-
- 15 Dec, 2023 1 commit
-
-
Polina Cherkasova authored
-
- 25 Sep, 2023 1 commit
-
-
LongCatIsLooong authored
Goden tests are easier to understand than `paints..` since the toolbar has a relatively complex path, and this should make PRs that make visual changes easier to review. The current goldens don't look correct since I messed up the y offset of the tip of the arrow when the arrow is pointing up. Should be fixed in https://github.com/flutter/flutter/pull/133386
-
- 22 Sep, 2023 1 commit
-
-
Tomasz Gucio authored
-
- 21 Sep, 2023 1 commit
-
-
derdilla authored
-
- 08 Aug, 2023 1 commit
-
-
LouiseHsu authored
This PR adds framework support for the Search Web feature in iOS. https://github.com/flutter/flutter/assets/36148254/c159f0d9-8f14-45e7-b295-e065b0826fab The corresponding merged engine PR can be found [here](https://github.com/flutter/engine/pull/43324). This PR addresses https://github.com/flutter/flutter/issues/82907 More details are available in this [design doc](https://docs.google.com/document/d/1QizXwBiO-2REIcEovl5pK06BaLPOWYmNwOE5jactJZA/edit?resourcekey=0-1pb9mJiAq29Gesmt25GAug)
-
- 07 Aug, 2023 1 commit
-
-
Kate Lovett authored
Fixes https://github.com/flutter/flutter/issues/59413 This relocates `mock_canvas.dart` and `recording_canvas.dart` from `flutter/test/rendering` to `flutter_test`. The testing functionality afforded by mock_canvas should be available to everyone, not just the framework. :) mock_canvas.dart needed a bit of cleanup - things like formatting and super parameters.
-
- 27 Jun, 2023 1 commit
-
-
Luccas Clezar authored
CupertinoTextSelectionToolbar is different from the native one, with some UI and UX issues. More details on the linked issue. https://github.com/flutter/flutter/issues/127756 Currently the only problem that I listed on the linked issue that I couldn't fix was the horizontal scrolling, but to workaround this I added a GestureDetector to change pages when swiping the toolbar. It's not exactly the same as native as there is no scroll animation, but it works. I'm creating this PR a little early to have some feedback as these changes were more complex than the ones in my last PR. Probably best if @justinmc is involved ð |Version|Video| |-|-| |Flutter Old|<video src="https://github.com/flutter/flutter/assets/12024080/7cf81075-46ec-4970-b118-cc27b60ddac0"></video>| |Flutter New|<video src="https://github.com/flutter/flutter/assets/12024080/c9e27a53-f94c-4cb0-9b76-e47b73841dcb"></video>| |Native|<video src="https://github.com/flutter/flutter/assets/12024080/468c7d5b-ba93-4bd4-8f6e-8ec2644b9866"></video>|
-
- 21 Apr, 2023 1 commit
-
-
chunhtai authored
fixes https://github.com/flutter/flutter/issues/99360
-
- 14 Apr, 2023 1 commit
-
-
Justin McCandless authored
Update the visuals of the iOS context menu to match iOS 16.3.1 more closely.
-
- 14 Mar, 2023 1 commit
-
-
pdblasi-google authored
Reland: Updates `flutter/test/cupertino` to no longer use `TestWindow`
-
- 10 Mar, 2023 1 commit
-
-
Casey Hillers authored
* Revert "Remove references to BindingBase.window (#122119)" This reverts commit c7681f00. * Revert "Remove another reference to BindingBase.window (#122341)" This reverts commit 6ec44450. * Revert "Reland (2): Removes single window assumptions from `flutter_test` (#122233)" This reverts commit eb3d317e. * Revert "Remove single view assumption from TestViewConfiguration (#122352)" This reverts commit 927289fb. * Revert "Updates `flutter/test/cupertino` to no longer use `TestWindow` (#122325)" This reverts commit 67e17e45. * Revert "Updates `flutter/test/gestures` to no longer reference `TestWindow` (#122327)" This reverts commit c2a5111c. * Revert "Updates `flutter/test/rendering` to no longer use `TestWindow` (#122347)" This reverts commit 28b65e08. * Revert "Updates `flutter_localizations/test` to stop using `TestWindow` (#122321)" This reverts commit 01367d52.
-
- 09 Mar, 2023 1 commit
-
-
pdblasi-google authored
Updates `flutter/test/cupertino` to no longer use `TestWindow`
-
- 03 Feb, 2023 1 commit
-
-
Justin McCandless authored
* Fix anchorBelow calculation, and share toolbar padding constant * Fix constant references in test * Test below position when padding is not offset by content distance
-
- 22 Dec, 2022 1 commit
-
-
Justin McCandless authored
Updates the iOS text selection toolbar to look like iOS 16 (reland)
-
- 14 Dec, 2022 1 commit
-
-
Tomasz Gucio authored
-
- 09 Dec, 2022 1 commit
-
-
Callum Moffat authored
-
- 01 Dec, 2022 1 commit
-
-
Justin McCandless authored
This reverts commit 1cb16a1e.
-
- 29 Nov, 2022 1 commit
-
-
Justin McCandless authored
Updates the text selection toolbar on iOS light mode to match changes in native iOS 16.
-
- 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.
-
- 11 Aug, 2022 2 commits
-
-
Casey Hillers authored
-
Ian Hickson authored
-
- 10 Aug, 2022 1 commit
-
-
chunhtai authored
-
- 27 Apr, 2022 1 commit
-
-
Phil Quitslund authored
-
- 14 Apr, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 04 Mar, 2022 1 commit
-
-
chunhtai authored
-
- 01 Mar, 2022 1 commit
-
- 23 Feb, 2022 1 commit
-
-
chunhtai authored
* Clean up ClipboardStatusNotifier * fix * fix test * more refactaaaaagit add .
-
- 03 Aug, 2021 3 commits
-
-
Darren Austin authored
-
Darren Austin authored
This reverts commit faf774eb.
-
Darren Austin authored
-
- 21 Apr, 2021 1 commit
-
-
Phil Quitslund authored
-
- 04 Mar, 2021 1 commit
-
-
Greg Spencer authored
-
- 29 Jan, 2021 1 commit
-
-
Sam Rawlins authored
-
- 20 Jan, 2021 1 commit
-
-
Justin McCandless authored
A very minimal right-click menu for Mac desktop.
-
- 13 Jan, 2021 1 commit
-
-
Justin McCandless authored
* Making a custom iOS-style text selection menu is now much easier. * Exposes a new widget for the toolbar, a new widget for the buttons, and a new widget for the layout.
-