mirror of
https://github.com/flutter/flutter
synced 2024-09-29 21:14:10 +00:00
1c9607fc9c
Reverts: flutter/flutter#155476 Initiated by: eyebrowsoffire Reason for reverting: The newly added tests are failing in postsubmit. See https://ci.chromium.org/ui/p/flutter/builders/prod/Windows%20framework_tests_libraries/19062/overview Original PR Author: QuncCccccc Reviewed By: {TahaTesser} This change reverts the following previous change: This PR is to make preparations to make `TabBarTheme` conform to Flutter's conventions for component themes: * Added a `TabBarThemeData` class which defines overrides for the defaults for `TabBar` properties. * Added 2 `TabBarTheme` constructor parameters: `TabBarThemeData? data` and `Widget? child`. This is now the preferred way to configure a `TabBarTheme`: ``` TabBarTheme( data: TabBarThemeData(labelColor: xxx, indicatorColor: xxx, ...), child: TabBar(...) ) ``` These two properties are made nullable to not break existing apps which has customized `ThemeData.tabBarTheme`. * Changed the type of component theme defaults from `TabBarTheme` to `TabBarThemeData`. TODO: * Fix internal failures. * Change the type of `ThemeData.tabBarTheme` from `TabBarTheme` to `TabBarThemeData`. This may cause breaking changes, a migration guide will be created. Addresses the "theme normalization" sub project within https://github.com/flutter/flutter/issues/91772 |
||
---|---|---|
.. | ||
bin | ||
gen_defaults | ||
gen_keycodes | ||
localization | ||
native_driver | ||
test | ||
vitool | ||
.gitignore | ||
create_api_docs.dart | ||
dartdoc_checker.dart | ||
examples_smoke_test.dart | ||
find_engine_commit.dart | ||
mega_gallery.dart | ||
pubspec.yaml | ||
repackage_gradle_wrapper.sh | ||
update_icons.dart |