toggle_bar_button

Creator: coderz1093

Last updated:

0 purchases

toggle_bar_button Image
toggle_bar_button Images

Languages

Categories

Add to Cart

Description:

toggle bar button

toggle_bar_button #

A dart package to display a horizontal bar of customisable toggle tabs. Supports iOS and Android.

Installation #
Depend on it.
dependencies:
toggle_bar_button: ^1.0.0
copied to clipboard
Usage #
import 'package:toggle_bar_button/toggle_bar_button.dart';

ToggleBarButton(
tabItems: ["Apples", 'Bananas', 'Oranges', 'Papayas'],
tabContentItems: <Widget>[
Center(child: Text('Apples')),
Center(child: Text('Bananas')),
Center(child: Text('Oranges')),
Center(child: Text('Papayas')),
],
)
copied to clipboard
Parameters #
@required final List<String> tabItems;
@required final List<Widget> tabContentItems;
final int index;
final Color backgroundColor;
final Color textColor;
final Color selectedBackgroundColor;
final Color selectedTextColor;
final Color borderColor;
final double borderWidth;
final double radius;
copied to clipboard

License

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

Files In This Product:

Customer Reviews

There are no reviews.