SolidAppBarConfig class
Comprehensive configuration for creating an AppBar.
Constructors
-
SolidAppBarConfig.new({required String title, Color? backgroundColor, List<
SolidAppBarAction> actions = const [], List<SolidOverflowMenuItem> overflowItems = const [], SolidVersionConfig? versionConfig, SolidThemeConfig? themeConfig, double narrowScreenThreshold = 800.0, double veryNarrowScreenThreshold = 600.0}) -
const
Properties
-
actions
→ List<
SolidAppBarAction> -
List of action buttons to display.
final
- backgroundColor → Color?
-
Background colour for the AppBar. If null, uses theme default.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- narrowScreenThreshold → double
-
Width threshold for narrow screens.
final
-
overflowItems
→ List<
SolidOverflowMenuItem> -
List of overflow menu items for narrow screens.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- themeConfig → SolidThemeConfig?
-
Theme toggle configuration. If null, theme toggle is not shown.
final
- title → String
-
The title to display in the AppBar.
final
- versionConfig → SolidVersionConfig?
-
Version configuration. If null, version widget is not shown.
final
- veryNarrowScreenThreshold → double
-
Width threshold for very narrow screens.
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