- 28 Jun, 2023 1 commit
-
-
Hans Muller authored
Updated tests in dev, examples/api, and tests/widgets to ensure that they continue to pass when the default for `ThemeData.useMaterial3` is changed to true. This is the final set of changes required for https://github.com/flutter/flutter/issues/127064.
-
- 26 May, 2023 1 commit
-
-
LongCatIsLooong authored
- Added `InlineWidgetContainerDefaults` for deduping inline widget code - Added a helper function `WidgetSpan.extractFromInlineSpan` for extracting `WidgetSpan`s and automatically applying text scaling (at widget level) - Removed `TextPainter.inlinePlaceholderScales`. I'm going to deprecate the `scale` argument in `TextPainter.addPlaceholder` next, as scaling is now done at the widget level. - Added runtime check and comments to make sure nobody is extending `PlaceholderSpan` directly (unfortunately we can't remove `PlaceholderSpan` without moving RenderEditable and RenderParagraph to the widgets library).
-
- 24 May, 2023 1 commit
-
-
LongCatIsLooong authored
Improves `TextPainter.layout` caching when only the input constraints change: - removes the double layout calls in `TextPainter._layoutParagraph`: now double layout is only needed when `TextAlign` is not left, and the input `maxWidth == double.infinity`. - skip calls to `ui.Paragraph.layout` when it's guaranteed that there's no soft line breaks before/after the layout call. This doesn't introduce new APIs but may slightly shift text rendered on screen. This reduces the number of `layout` calls but since shaping results are already cached so it only skips the relatively cheap line-breaking process when possible. 528 scuba failures but all of them seem reasonable.
-
- 21 Apr, 2023 1 commit
-
-
Bruno Leroux authored
## Description This PR introduces `DefaultSelectionStyle.mouseCursor` to configure the mouse cursor over selectable text. It also applies this solution to `InkResponse` to make the mouse cursor win over the default one provided by selectable `Text` for many Material components (such as buttons). ### Before https://user-images.githubusercontent.com/840911/233627729-ddf98e2a-444d-4c6d-a6d5-f521982f48dd.mov ### After https://user-images.githubusercontent.com/840911/233627718-8871a68f-d33c-44cf-b4a1-91bb1fcdf076.mov ## Related Issue Fixes https://github.com/flutter/flutter/issues/104595 ## Tests Adds 6 tests.
-
- 24 Mar, 2023 1 commit
-
-
LongCatIsLooong authored
Unskip #62819 Fixes #12357
-
- 09 Mar, 2023 1 commit
-
-
LongCatIsLooong authored
Reland "Update test font (#121306)"
-
- 06 Mar, 2023 2 commits
-
-
LongCatIsLooong authored
This reverts commit 9f69a367.
-
LongCatIsLooong authored
Update test font
-
- 01 Mar, 2023 1 commit
-
- 28 Feb, 2023 1 commit
-
-
Michael Goderbauer authored
Fix how tests count open SemanticsHandles
-
- 27 Feb, 2023 1 commit
-
- 23 Feb, 2023 1 commit
-
-
chunhtai authored
* Fix text.rich to merge widget span * migrate to new API * update * addressing comment * addressing comments * update * addressing comment * Update
-
- 02 Feb, 2023 1 commit
-
-
Michael Goderbauer authored
* Make Flex,Row,Column const for real * dart fix --apply * fix snippets * fix integration test * add comment
-
- 31 Jan, 2023 1 commit
-
-
Michael Goderbauer authored
-
- 21 Oct, 2022 1 commit
-
-
Justin McCandless authored
Add missing parameters to ThemeData (fontFamilyFallback and package)
-
- 06 Sep, 2022 1 commit
-
-
Dan Field authored
-
- 26 May, 2022 1 commit
-
-
Pierre-Louis authored
* Use `curly_braces_in_flow_control_structures` for `widgets` * fix comments * fix comments
-
- 24 Mar, 2022 1 commit
-
-
chunhtai authored
-
- 08 Oct, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 5fd259be.
-
Ian Hickson authored
-
- 11 Sep, 2021 1 commit
-
-
LongCatIsLooong authored
-
- 09 Aug, 2021 1 commit
-
-
Darren Austin authored
-
- 28 Apr, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 21 Apr, 2021 1 commit
-
-
Phil Quitslund authored
-
- 14 Apr, 2021 1 commit
-
-
Pedro Massango authored
-
- 07 Apr, 2021 1 commit
-
-
Sam Rawlins authored
-
- 04 Mar, 2021 2 commits
-
-
Michael Goderbauer authored
-
Greg Spencer authored
-
- 13 Nov, 2020 1 commit
-
-
Michael Goderbauer authored
-
- 12 Nov, 2020 1 commit
-
-
Michael Goderbauer authored
-
- 09 Nov, 2020 1 commit
-
-
chunhtai authored
* Fix crash when widgetspan does not produce a semantics node in render paragraph * fix comments * fixed corner case, added test, refactored semantics widget * addressing comment
-
- 22 Oct, 2020 1 commit
-
-
xubaolin authored
-
- 15 Oct, 2020 1 commit
-
-
Greg Spencer authored
-
- 30 Sep, 2020 1 commit
-
-
Jason Simmons authored
Text test should check that a paragraph's longest line is not greater than the width constraint (#67000)
-
- 16 Sep, 2020 1 commit
-
-
Jonah Williams authored
-
- 06 Aug, 2020 1 commit
-
-
Ian Hickson authored
-
- 04 Aug, 2020 1 commit
-
-
LongCatIsLooong authored
-
- 31 Jul, 2020 1 commit
-
- 23 Jul, 2020 1 commit
-