A user-friendly TabBarController widget for flutter developer.
This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
The plugin project was generated without specifying the
--platforms flag, no platforms are currently supported.
To add platforms, run
flutter create -t plugin --platforms <platforms> . under the same
directory. You can also find a detailed instruction on how to add platforms in the
pubspec.yaml at https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms.
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies: easy_tab_controller: ^1.0.1
You can see more information in example
EasyTabController( location: WebTabLocation.left, tabs: [ TabItemBuilder( icon: Icon(Icons.directions_car), title: "Android", ), TabItemBuilder( icon: Icon(Icons.directions_bike), title: "iOS", ), ], body:[ Center( child: Text(""), ), Center( child: Text(""), ), ], );
Welcome to my person website: hornhuang.github.io you can see it when your browser become narrow ～
Here are changes for every version.
- Page display and switch.
- Direction between tabs and pages.
- Perfect example code.
- Add placeholder to page.
- Users can customize the tab style.
Copyright (c) 2021 hornhuang
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.