customtabview 0.2.1 copy "customtabview: ^0.2.1" to clipboard
customtabview: ^0.2.1 copied to clipboard

[pending analysis]

A custom tab view that safely handles dynamic tab rendering and avoids crashes from tab count mismatches.

example/main.dart

import 'package:flutter/material.dart';
import 'package:customtabview/customtabview.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: CustomTabView(
          itemCount: 3,
          tabBuilder: (context, index) => Tab(text: 'Tab $index'),
          pageBuilder: (context, index) => Center(child: Text('Page $index')),
          initPosition: 0,
          indicatorColor: Colors.blue,
          labelColor: Colors.black,
        ),
      ),
    );
  }
}
0
likes
70
points
36
downloads

Publisher

verified publisherdivinefavour.ca

Weekly Downloads

A custom tab view that safely handles dynamic tab rendering and avoids crashes from tab count mismatches.

Repository (GitHub)
View/report issues

Documentation

API reference

License

(pending) (license)

Dependencies

flutter, flutter_bloc, freezed_annotation

More

Packages that depend on customtabview