flutter/dev/tools
auto-submit[bot] 1c9607fc9c
Reverts "Normalize TabBarTheme (#155476)" (#155698)
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
2024-09-25 17:50:18 +00:00
..
bin Manual roll to 48ddaf578fb0c8326d5b4b680b0f49ea72e33216 (#155070) 2024-09-12 17:58:12 +00:00
gen_defaults Reverts "Normalize TabBarTheme (#155476)" (#155698) 2024-09-25 17:50:18 +00:00
gen_keycodes Roll pub packages (#155640) 2024-09-25 00:03:57 +00:00
localization Use correct locale for CupertinoDatePicker weekday (#151494) 2024-07-11 00:10:17 +00:00
native_driver Roll pub packages (#155640) 2024-09-25 00:03:57 +00:00
test Add fake dependency on flutter_gpu for the docs (#153325) 2024-08-13 01:55:07 +00:00
vitool Upgrade leak tracker. (#154157) 2024-08-28 05:23:18 +00:00
.gitignore
create_api_docs.dart create_api_docs.dart: correct command logging (#155226) 2024-09-22 16:01:41 +00:00
dartdoc_checker.dart Add info strings to code blocks. (#146085) 2024-04-01 14:05:16 -07:00
examples_smoke_test.dart Implementing control flow collections (#146601) 2024-04-15 16:06:07 +00:00
find_engine_commit.dart
mega_gallery.dart Implementing a few switch statements (#150946) 2024-07-01 23:36:32 +00:00
pubspec.yaml Roll pub packages (#155640) 2024-09-25 00:03:57 +00:00
repackage_gradle_wrapper.sh
update_icons.dart Update old wiki links (#149544) 2024-06-17 17:26:08 +00:00