convex_appbar 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.
Constants
- ACTION_INNER_BUTTON_SIZE → const double
-
Default size for active icon in tab.
40
- ACTION_LAYOUT_SIZE → const double
-
Default size for active tab.
60
- BAR_HEIGHT → const double
-
Default height of the AppBar.
50
- CONVEX_SIZE → const double
-
Default size of the curve line.
80
- CURVE_TOP → const double
-
Default distance that the child's top edge is inset from the top of the stack.
-25
- ELEVATION → const double
-
Default elevation of ConvexAppBar.
2
Enums
- TabStyle
- Tab styles.
Typedefs
-
CustomTabBuilder(
BuildContext context, int index, bool active) → Widget - Tab builder. [...]
-
GestureTapIndexCallback(
int index) → void -
Tab callback,
index
are tab index which is being clicked. -
TapNotifier(
int index) → bool - Fire before GestureTapIndexCallback is handled, you may return false to block the tap event.