Skip to content
pubscout

appinio_animated_toggle_tab

1.0.3, released 3 years ago by appinio.app

A custom tab viewer widget with built-in switching animations.

WASM-readyQuiet but busy
$ flutter pub add appinio_animated_toggle_tab
Source repository

What it does

Provides an animated toggle tab widget allowing users to switch between multiple tabs with customized styling, decorations, and animations. It includes options for active/inactive text styles, callback controls, and initial index configuration.

AI-written summary of version 1.0.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a custom animated tab switcher instead of the default TabBar
  • You want to customize tab decorations and active/inactive states easily

Skip it when

  • You require a full complex tab navigation architecture with offscreen page retaining by default
  • You need advanced material or cupertino design system tabs

Strengths

  • Built-in smooth switching animation
  • Highly customizable decorations and text styles for active and inactive states

Weaknesses

  • Limited to basic text-labeled tabs based on the provided parameters
  • Not documented for complex nested navigation views

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
AppinioAnimatedToggleTab(
  callback: (int i) {},
  tabTexts: const [
    'make',
    'your',
    'tabs :)',
  ],
  height: 40,
  width: 300,
  boxDecoration: BoxDecoration(color: Color(0xFFc3d2db)),
  animatedBoxDecoration: BoxDecoration(
    color: Colors.blue,
    borderRadius: BorderRadius.all(Radius.circular(5)),
  ),
  activeStyle: const TextStyle(color: Colors.blue),
  inactiveStyle: const TextStyle(color: Colors.black),
)

Alternatives

Packages that do the same job and could replace appinio_animated_toggle_tab.

Works with

Packages commonly used together with appinio_animated_toggle_tab: ones it builds on, ones built on it, and its own family.