Fix M3 Tabs Specs links (#138808)

fixes [Material 3 Tab Specs links are broken/outdated ](https://github.com/flutter/flutter/issues/138805)
This commit is contained in:
Taha Tesser
2023-11-21 23:46:07 +02:00
committed by GitHub
parent e791c4345c
commit ccc3622e17

View File

@@ -731,7 +731,7 @@ class _TabBarScrollController extends ScrollController {
/// * [TabBar.secondary], for a secondary tab bar.
/// * [TabBarView], which displays page views that correspond to each tab.
/// * [TabController], which coordinates tab selection between a [TabBar] and a [TabBarView].
/// * https://m3.material.io/components/tab-bar/overview, the Material 3
/// * https://m3.material.io/components/tabs/overview, the Material 3
/// tab bar specification.
class TabBar extends StatefulWidget implements PreferredSizeWidget {
/// Creates a Material Design primary tab bar.
@@ -797,7 +797,7 @@ class TabBar extends StatefulWidget implements PreferredSizeWidget {
/// * [TabBar], for a primary tab bar.
/// * [TabBarView], which displays page views that correspond to each tab.
/// * [TabController], which coordinates tab selection between a [TabBar] and a [TabBarView].
/// * https://m3.material.io/components/tab-bar/overview, the Material 3
/// * https://m3.material.io/components/tabs/overview, the Material 3
/// tab bar specification.
const TabBar.secondary({
super.key,