BreadcrumbsThemeData class
Defines a theme for the breadcrumbs used in the picker and Breadcrumbs widget.
Here you can set the color and style of the items, icons and their size, etc.
- Mixed-in types
- Annotations
Constructors
- BreadcrumbsThemeData({Color? itemColor, Color? inactiveItemColor, EdgeInsetsGeometry? itemPadding, Size? itemMinimumSize, MaterialTapTargetSize? itemTapTargetSize, Color? overlayColor, IconData? separatorIcon, double? separatorIconSize, Color? separatorColor, Color? backgroundColor, TextStyle? textStyle, double? leadingSpacing, double? trailingSpacing})
- Creates a theme that can be used in FilesystemPickerTopBarThemeData and Breadcrumbs.
Properties
- backgroundColor → Color?
-
The background fill color under the breadcrumbs.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveItemColor → Color?
-
The color of the inactive item.
final
- itemColor → Color?
-
The color of the last (active) item.
final
- itemMinimumSize → Size?
-
The minimum size of the item itself.
final
- itemPadding → EdgeInsetsGeometry?
-
The padding between the item's boundary and its content.
final
- itemTapTargetSize → MaterialTapTargetSize?
-
Configures the minimum size of the area within which the item may be pressed.
final
- leadingSpacing → double?
-
Leading spacing before breadcrumbs.
final
- overlayColor → Color?
-
The highlight color that's typically used to indicate that
the item is focused, hovered, or pressed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- separatorColor → Color?
-
The color of the separatorIcon.
final
- separatorIcon → IconData?
-
The separator icon that is placed between the breadcrumb items.
final
- separatorIconSize → double?
-
The size of the separatorIcon.
final
- textStyle → TextStyle?
-
The text style for the items of the breadcrumbs.
final
- trailingSpacing → double?
-
Trailing spacing after breadcrumbs.
final
Methods
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
getInactiveItemColor(
BuildContext context, [Color? color]) → Color - Returns the text color of the inactive breadcrumbs item.
-
getItemColor(
BuildContext context, [Color? color]) → Color - Returns the text color of the breadcrumbs item.
-
getItemTapTargetSize(
BuildContext context) → MaterialTapTargetSize - Returns the minimum size of the area within which the item may be pressed.
-
getLeadingSpacing(
BuildContext context) → double - Returns the leading spacing before breadcrumbs.
-
getOverlayColor(
BuildContext context, [Color? color]) → Color - Returns the highlight color that's typically used to indicate that the item is focused, hovered, or pressed.
-
getSeparatorColor(
BuildContext context, [Color? color]) → Color - Returns the color of the separatorIcon.
-
getSeparatorIcon(
BuildContext context) → IconData - Returns the separator icon that is placed between the breadcrumb items.
-
getSeparatorIconSize(
BuildContext context) → double - Returns the size of the separatorIcon.
-
getTextStyle(
BuildContext context) → TextStyle - Returns the text style for the items of the breadcrumbs.
-
getTrailingSpacing(
BuildContext context) → double - Returns the trailing spacing after breadcrumbs.
-
merge(
BreadcrumbsThemeData? base) → BreadcrumbsThemeData - Returns a new breadcrumbs theme that matches this theme but with some values replaced by the non-null parameters of the given theme.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultItemTapTargetSize → const MaterialTapTargetSize
- The default minimum size of the area within which the button may be pressed.
- defaultLeadingSpacing → const double
- Leading spacing by default.
- defaultSeparatorIcon → const IconData
- The default separator icon.
- defaultSeparatorIconSize → const double
- The default size for the separator icon.
- defaultTrailingSpacing → const double
- Trailing spacing by default.