lucademian / tabpanel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Tabbed inferface with support for nested and resizeable panels.

Video demo:

Note: Requires Flutter's master channel for the time being

Example

void main() async {
  final tabPanel = TabPanel(defaultPage: YourDefaultPage());

  runApp(
    MaterialApp(
      home: TabPanelWidget(tabPanel),
    ),
  );
}

See the example folder for details.

Planned features and known issues

  • Extend the Tab API to better control its navigation stack. Most things the built-in Navigator class has, and a few more.
  • Integrate the Router class or write a custom implementation, for how to specify pages to be pushed.
  • More customization options for panels and the tab bar and ability to set different themes for panels.
  • Cupertino and Material versions.
  • Adding an option to limit the level of nesting. Currently is unlimited.
  • Clone tab
  • Adding a new tabs does not scroll the tab bar to bring it into view. To be fixed soon.

About

License:MIT License


Languages

Language:Dart 54.6%Language:C++ 29.7%Language:CMake 11.6%Language:HTML 2.2%Language:C 1.0%Language:Swift 0.6%Language:Kotlin 0.2%Language:Objective-C 0.1%