- 20 Jan, 2024 1 commit
-
-
LongCatIsLooong authored
Remove more `textScaleFactor` references from flutter/flutter. - Some changes are related to label scaling: the padding EdgeInsets values of some chip subclasses scale linearly between predetermined "max" padding values and "min" padding values. Before they scale with the `textScaleFactor` scalar, now they scale with the font size and are still capped at the original "max" and "min" values. - The rest of them are tests or size heuristics that depend on `textScaleFactor`, these are replaced by an effective text scale factor computed using a default font size (which is determined in a pretty random fashion, but it will only make a difference on Android 14+). No API changes in this batch. There are still some references left that I intend to remove in a different batch that would introduce API changes.
-
- 15 Dec, 2023 1 commit
-
-
Polina Cherkasova authored
-
- 14 Aug, 2023 1 commit
-
-
Polina Cherkasova authored
-
- 10 Aug, 2023 1 commit
-
-
LongCatIsLooong authored
Migrate tests in flutter/flutter. Once the tests here and in `*_customer_testing` are migrated, the default value of the migration flag will be changed from false to true, making the rounding hack disabled by default.
-
- 09 Aug, 2023 1 commit
-
-
Zachary Anderson authored
Reverts flutter/flutter#131998 Reverting for https://github.com/flutter/flutter/issues/132222
-
- 08 Aug, 2023 1 commit
-
-
Polina Cherkasova authored
-
- 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.
-
- 22 Jul, 2023 1 commit
-
-
Polina Cherkasova authored
-
- 13 Jun, 2023 1 commit
-
-
Qun Cheng authored
Updates most of the unit tests in the packages/flutter/test/material folder so that they'll pass if ThemeData.useMaterial3 defaults to true. All of the tests have wired useMaterial3 to false and will need to be updated with a M3 version. related to #127064
-
- 12 Jun, 2023 1 commit
-
-
Taha Tesser authored
fixes https://github.com/flutter/flutter/issues/128569 <details> <summary>code sample</summary> ```dart import 'package:flutter/material.dart'; void main() { runApp(const ListTileApp()); } class ListTileApp extends StatelessWidget { const ListTileApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( useMaterial3: true, colorScheme: ColorScheme.fromSeed(seedColor: Colors.red).copyWith( onSurface: Colors.yellow, onSurfaceVariant: Colors.green, ), ), home: const Scaffold( body: Center( child: ListTile( title: Text('title'), subtitle: Text('subtitle'), ), ), ), ); } } ``` </details> # Description M3 ListTile couldn't be customized using `ColorScheme` colors. - This PR updates the list tile text defaults to `ColorScheme` text color tokens. - Improved the `ListTile` template to use the token group. - Update docs and tests. ```dart colorScheme: ColorScheme.fromSeed(seedColor: Colors.red).copyWith( onSurface: Colors.yellow, onSurfaceVariant: Colors.green, ), ``` ### Before ![Screenshot 2023-06-09 at 17 47 04](https://github.com/flutter/flutter/assets/48603081/c0130371-3c7c-428c-bb57-504822cf64b5) ### After ![Screenshot 2023-06-09 at 17 46 17](https://github.com/flutter/flutter/assets/48603081/3b4d6f8c-7fdd-4546-a6f0-00dd34cb5a96)
-
- 30 May, 2023 1 commit
-
-
Taha Tesser authored
fixes https://github.com/flutter/flutter/issues/127795
-
- 13 Feb, 2023 1 commit
-
-
Taha Tesser authored
-
- 09 Feb, 2023 1 commit
-
-
Hans Muller authored
* added ListTile.textAlignment * changed titlesHeight to titleHeight * fixed a typo * Add tests and example * Update tests * update example test --------- Co-authored-by:
tahatesser <tessertaha@gmail.com>
-
- 06 Feb, 2023 1 commit
-
-
Eilidh Southren authored
* add icon button property override * list tile changes * add imports * add newlines * whitespace
-
- 10 Jan, 2023 1 commit
-
-
Bruno Leroux authored
-
- 09 Jan, 2023 1 commit
-
-
Taha Tesser authored
* Update `ListTile` to support Material 3 * Update `Default ListTile debugFillProperties` * Add #99933 HTML workaround.
-
- 29 Dec, 2022 1 commit
-
-
Xilai Zhang authored
This reverts commit 57fb36ee.
-
- 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
-
- 14 Dec, 2022 1 commit
-
-
Taha Tesser authored
* [reland] Add Material 3 support for `ListTile` - Part 1 * Update doc
-
- 12 Dec, 2022 1 commit
-
-
Hans Muller authored
This reverts commit e57b7f4e.
-
- 09 Dec, 2022 1 commit
-
-
Taha Tesser authored
* Add Material 3 support for `ListTile` - Part 1 * minor refactor * Add `useMaterial3: false` to M2 tests
-
- 30 Nov, 2022 1 commit
-
-
Darren Austin authored
-
- 29 Nov, 2022 1 commit
-
-
Mohammed CHAHBOUN authored
-
- 03 Oct, 2022 1 commit
-
-
Casey Hillers authored
-
- 30 Sep, 2022 1 commit
-
-
hangyu authored
-
- 05 Sep, 2022 1 commit
-
-
Taha Tesser authored
-
- 31 Aug, 2022 1 commit
-
-
Mohammed CHAHBOUN authored
-
- 25 Aug, 2022 1 commit
-
-
Greg Spencer authored
-
- 22 Aug, 2022 1 commit
-
-
Kate Lovett authored
-
- 21 Aug, 2022 1 commit
-
-
Greg Spencer authored
This reverts commit b3aba4d9 because it breaks Google tests.
-
- 19 Aug, 2022 1 commit
-
-
Greg Spencer authored
-
- 17 Aug, 2022 1 commit
-
-
Bernardo Ferrari authored
-
- 16 Aug, 2022 1 commit
-
-
Casey Hillers authored
-
- 15 Aug, 2022 1 commit
-
-
Bernardo Ferrari authored
-
- 03 Aug, 2022 1 commit
-
-
Greg Spencer authored
-
- 25 May, 2022 2 commits
-
-
Taha Tesser authored
-
Pierre-Louis authored
* Use `curly_braces_in_flow_control_structures` for `material` * include test/material * add back removed comments
-
- 20 May, 2022 1 commit
-
-
Tong Mu authored
-
- 19 Apr, 2022 1 commit
-
-
Hans Muller authored
This reverts commit 9f0bcfb8.
-
- 18 Apr, 2022 1 commit
-
-
Taha Tesser authored
-