From 41f96f00f0b9de3772f65c00ee4a1a45b12c16c8 Mon Sep 17 00:00:00 2001 From: laiiihz Date: Thu, 24 Dec 2020 10:03:44 +0800 Subject: [PATCH] tabBar add doc --- lib/bar/as_tabbar.dart | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/bar/as_tabbar.dart b/lib/bar/as_tabbar.dart index d6e2adb..2ee388d 100644 --- a/lib/bar/as_tabbar.dart +++ b/lib/bar/as_tabbar.dart @@ -29,6 +29,18 @@ class ASTabBar extends StatefulWidget implements PreferredSizeWidget { : tabItems = null, super(key: key); + /// ## TabBar with tag + ///```dart + /// ASTabBar.tag( + /// isScrollable: true, + /// tabItems: [ + /// ASTabBarItem(title:'Tab1',tag:'12'), + /// ASTabBarItem(title:'Tab2'), + /// ], + /// controller: _tabController4, + /// ) + ///``` + /// ASTabBar.tag( {Key key, @required this.tabItems,