vertical_tab_bar_view

Creator: coderz1093

Last updated:

Add to Cart

Description:

vertical tab bar view

vertical_tab_bar_view #
Flutter's Material TabView but scrolls vertically and without snapping.
Getting Started #
The most simple to use pacage ever just replace your TabBarView widget's name with VerticalTabBarView and you're done
*Note: The example app contains example how to dynamically create Tabs & (Vertical)TabBarView

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

void main() {
runApp(TabBarDemo());
}

class TabBarDemo extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: DefaultTabController(
length: 3,
child: Scaffold(
appBar: AppBar(
bottom: TabBar(
tabs: [
Tab(icon: Icon(Icons.directions_car)),
Tab(icon: Icon(Icons.directions_transit)),
Tab(icon: Icon(Icons.directions_bike)),
],
),
title: Text('Tabs Demo'),
),
body: // TabBarView( <--- replace with **VerticalTabBarView**
Column(
children: [
Icon(Icons.directions_car),
Icon(Icons.directions_transit),
Icon(Icons.directions_bike),
],
),
),
),
);
}
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.