Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

ser-friendly TabBarController widget for flutter developer

easy_tab_controller

A user-friendly TabBarController widget for flutter developer.

Getting Started

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.

Installing

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

Using

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(""),
        ),
      ],
    );

Preview

Welcome to my person website: hornhuang.github.io you can see it when your browser become narrow ~

Version

Here are changes for every version.

1.0.1

1.0.2

Download TabBarController widget source code on GitHub

Exit mobile version