GlassBottomBarItem class

A tab to display in a GlassBottomBar

Constructors

GlassBottomBarItem({required Widget icon, required Widget title, Color? selectedColor, Color? unselectedColor, LinearGradient? selectedGradient, LinearGradient? unselectedGradient, double selectedIconColorOpacity = 0.5, double unselectedIconColorOpacity = 0.6, double? radius, double? border, double? blur, LinearGradient? selectedBorderGradient, LinearGradient? unselectedBorderGradient, BorderRadius? borderRadius, Widget? activeIcon})

Properties

activeIcon Widget?
An icon to display when this tab bar is active.
final
blur double?
final
border double?
final
borderRadius BorderRadius?
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget
An icon to display.
final
radius double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedBorderGradient LinearGradient?
final
selectedColor Color?
A primary color to use for this tab.
final
selectedGradient LinearGradient?
final
selectedIconColorOpacity double
final
title Widget
Text to display, ie Home
final
unselectedBorderGradient LinearGradient?
final
unselectedColor Color?
The color to display when this tab is not selected.
final
unselectedGradient LinearGradient?
final
unselectedIconColorOpacity double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited