DGHub Studio
Buy Me a Coffee
Installation
In the dependencies:
section of your pubspec.yaml
, add the following line:
dependencies:
dghub_tab: <latest_version>
Import package
import 'package:dghub_tab/dghub_tab.dart';
DGHubTab(
config: DGHubTabConfig(
changed: (index, controller) {
///
},
tabs: [
DGHubTabBarItem(icon: Icons.abc, label: 'All'),
DGHubTabBarItem(icon: Icons.abc, label: 'Users'),
DGHubTabBarItem(icon: Icons.abc, label: 'Admins'),
DGHubTabBarItem(icon: Icons.abc, label: 'Services'),
DGHubTabBarItem(icon: Icons.abc, label: 'Bots'),
]));
- Package created by Min Thant Htet