collapsible_tab_bar 0.0.1 copy "collapsible_tab_bar: ^0.0.1" to clipboard
collapsible_tab_bar: ^0.0.1 copied to clipboard

A Material tab bar that shrinks smoothly on scroll and snaps back, with pluggable tab styles (icon, text, icon+label). Drive it with a ScrollController or AnimationController via CollapseScope.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'screens/tab_bar_demo_screen.dart';

void main() {
  runApp(const DemoApp());
}

class DemoApp extends StatelessWidget {
  const DemoApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Collapsible Tab Bar Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        useMaterial3: true,
        scaffoldBackgroundColor: const Color(0xFFFAFAFA),
        colorScheme: ColorScheme.fromSeed(
          seedColor: const Color(0xFF237FFB),
          brightness: Brightness.light,
        ),
      ),
      home: const TabBarDemoScreen(),
    );
  }
}
0
likes
140
points
42
downloads

Documentation

API reference

Publisher

verified publisherdivyanshdev.tech

Weekly Downloads

A Material tab bar that shrinks smoothly on scroll and snaps back, with pluggable tab styles (icon, text, icon+label). Drive it with a ScrollController or AnimationController via CollapseScope.

License

MIT (license)

Dependencies

flutter, flutter_screenutil

More

Packages that depend on collapsible_tab_bar