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

A Material tab bar that shrinks smoothly on scroll and snaps back, with pluggable tab styles: icon, text, or icon+label.

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
160
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, or icon+label.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_screenutil

More

Packages that depend on collapsible_tab_bar