convex_bottom_bar library

Classes

ChipBuilder
Interface to apply any custom badge chip.
ConvexAppBar
Online example can be found at http://hacktons.cn/convex_bottom_bar.
ConvexAppBarState
State of ConvexAppBar.
ConvexButton
Single convex button widget
DelegateBuilder
Item builder.
StyleHook
Default tab styles are configured with internal layout/size, these are not exposed like color or height information. You can use ConvexAppBar.builder to fully customize the tab widget.
StyleProvider
Hook for internal tab style. Unlike the ConvexAppBar.builder, you may want to update the tab style without define a new tab style.
TabItem<T>
Tab item used for ConvexAppBar.

Enums

TabStyle
Tab styles.

Constants

ACTION_INNER_BUTTON_SIZE → const double
Default size for active icon in tab.
ACTION_LAYOUT_SIZE → const double
Default size for active tab.
BAR_HEIGHT → const double
Default height of the AppBar.
CONVEX_SIZE → const double
Default size of the curve line.
CURVE_TOP → const double
Default distance that the child's top edge is inset from the top of the stack.
ELEVATION → const double
Default elevation of ConvexAppBar.

Typedefs

CustomTabBuilder = Widget Function(BuildContext context, int index, bool active)
Tab builder.
GestureTapIndexCallback = void Function(int index)
Tab callback, index are tab index which is being clicked.
TapNotifier = bool Function(int index)
Fire before GestureTapIndexCallback is handled, you may return false to block the tap event.