v1.0.0
toggle_bar
A horizontal bar of toggle tabs with customisable colors and labels.
44Likes 2630-day downloads40Pub points
Platforms unavailable
A horizontal bar of customisable toggle buttons.
English project snapshot. Visit GitHub for the latest content.
A dart package to display a horizontal bar of customisable toggle tabs. Supports iOS and Android.
Depend on it.
dependencies:
toggle_bar: ^1.0.0
import 'package:toggle_bar/toggle_bar.dart';
ToggleBar(
labels: ["Apples", "Bananas", "Oranges", "Watermelons"],
onSelectionUpdated: (index) => // Do something with index
)
@required List<String> labels;
Color backgroundColor;
Color selectedTabColor;
Color selectedTextColor;
Color textColor;
BoxBorder backgroundBorder;
TextStyle labelTextStyle;
Function(int) onSelectionUpdated;
Dependency list 3 items
{"sdk":"flutter"}any{"sdk":"flutter"}Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗