appinio_animated_toggle_tab 1.0.1 copy "appinio_animated_toggle_tab: ^1.0.1" to clipboard
appinio_animated_toggle_tab: ^1.0.1 copied to clipboard

outdated

A custom tab viewer with built-in animation and different design from default `TabViewer`.

Appinio Animated Toggle Tab #

A custom tab viewer with built-in animation.

Preview #

Features #

  • a tabviewer ready to be customized
  • built-in animation
  • different design from default TabViewer

Getting started #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  appinio_tanimated_toggle_tab:

In your library add the following import:

import 'package:appinio_animated_toggle_tab/appinio_animated_toggle_tab.dart';

For help getting started with Flutter, view the online documentation.

Usage #

You can place your AppinioAnimatedToggleTab inside of a MaterialApp, optional parameters can be defined to enable different featiures. See the following example

class TabsViewer extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return CupertinoApp(
      home: AppinioAnimatedToggleTab(
              callback: (int i) {},
              tabTexts: const [
                'make',
                'your',
                'tabs :)',
              ],
              height: 40,
              width: 300,
              boxDecoration: BoxDecoration(color: Color(0xFFc3d2db),),
              animatedBox: Container(
                decoration: BoxDecoration(
                  color: Colors.white,
                ),
              ),
              activeStyle: const TextStyle( color: Colors.blue,),
              inactiveStyle: const TextStyle( color: Colors.black,),
            );
  }
}

Made with ❤ by Flutter team at Appinio GmbH
54
likes
0
pub points
83%
popularity

Publisher

verified publisherappinio.app

A custom tab viewer with built-in animation and different design from default `TabViewer`.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on appinio_animated_toggle_tab