Commit Graph

14 Commits

Author SHA1 Message Date
Mitchell Goodwin
daa52b2501
Seperate localization tests for Material2 and Material3 (#135779)
Seperates tests for the localizations package into Material2 and Material3 versions and removes dependency on theme.

More info in #127064
2023-10-10 21:46:20 +00:00
LongCatIsLooong
3f831b694f
Making TextPainter rounding hack disabled by default (#132094)
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.
2023-08-10 00:30:52 +00:00
Hans Muller
9c3bfde5c0
Updated flutter_localizations tests for Material3; (#128521)
Updated the localization tests so that they'll DTRT when useMaterial3:true becomes the default for ThemeData. In a few cases there are M2 and M3 tests now, to check features that are significantly different in Material3, notably the double ring for the 24  hour input dial. 

| Material 2 | Material 3|
|---------|---------|
|   <img width="250" alt="Screenshot 2023-06-08 at 10 47 37 AM" src="https://github.com/flutter/flutter/assets/1377460/6ca95e22-b3f1-4f6b-9e39-79c888ba58f1"> | <img width="257" alt="Screenshot 2023-06-08 at 10 47 13 AM" src="https://github.com/flutter/flutter/assets/1377460/19b685bf-c812-4c87-baed-70fa56efaad8"> | 

In M3, most aspects of the ideographic text styles are the same as for alphabetic styles, so there are some tweaks here to account for that.
2023-06-09 17:11:23 +00:00
Ian Hickson
eb00598bec
Use FlutterError.reportError instead of debugPrint for l10n warning (#93076) 2021-11-30 17:24:05 -08:00
Sam Rawlins
c6a74e0a5e
Remove "unnecessary" imports. (#76159) 2021-02-19 17:36:02 -08:00
Kate Lovett
7aa17231ac
Revert "Reland "Update PopupMenuButton to match Material Design spec"" (#75338) 2021-02-04 10:01:04 -08:00
xubaolin
12016e4145
Reland "Update PopupMenuButton to match Material Design spec" (#74620) 2021-02-01 14:46:03 -08:00
Jonah Williams
cecb7f3b58
Revert "Update PopupMenuButton to match Material Design spec (#70160)" (#74439)
This reverts commit 79d0358ece.
2021-01-21 12:51:53 -08:00
xubaolin
79d0358ece
Update PopupMenuButton to match Material Design spec (#70160) 2021-01-15 14:34:05 -08:00
Darren Austin
1c7e34bb20
Migrate flutter_localizations to null safety. (#68645)
Migrate flutter_localizations to null safety.
2020-11-12 15:13:51 -08:00
Konstantin Scheglov
b0492cc976
Fix newly reported prefer_const_constructors lints. (#54176) 2020-04-07 08:59:01 -07:00
Ian Hickson
449f4a6673
License update (#45373)
* Update project.pbxproj files to say Flutter rather than Chromium

Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.

* Update the copyright notice checker to require a standard notice on all files

* Update copyrights on Dart files. (This was a mechanical commit.)

* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.

Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).

* Clean up the copyrights in non-Dart files. (Manual edits.)

Also, make sure templates don't have copyrights.

* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
Hans Muller
6d18c20a95
Update PopupMenu layout (#40179) 2019-09-17 08:48:27 -07:00
Gary Qian
a0c47e2216
Do not use ideographic baseline for RenderPargraph baseline (#35493) 2019-07-03 15:04:18 -07:00