VooHeaderConfig class
Configuration for the navigation header
Constructors
- VooHeaderConfig({String? title, String? tagline, Widget? logo, IconData? logoIcon, Color? logoBackgroundColor, bool showTitle = true, TextStyle? titleStyle, TextStyle? taglineStyle, EdgeInsets? padding, VoidCallback? onTap, double? height})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
Height of the header. Defaults to kToolbarHeight (56dp) to align with app bar.
final
- logo → Widget?
-
final
- logoBackgroundColor → Color?
-
final
- logoIcon → IconData?
-
final
- onTap → VoidCallback?
-
final
- padding → EdgeInsets?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showTitle → bool
-
final
- tagline → String?
-
final
- taglineStyle → TextStyle?
-
final
- title → String?
-
final
- titleStyle → TextStyle?
-
final
Methods
-
copyWith(
{String? title, String? tagline, Widget? logo, IconData? logoIcon, Color? logoBackgroundColor, bool? showTitle, TextStyle? titleStyle, TextStyle? taglineStyle, EdgeInsets? padding, VoidCallback? onTap, double? height}) → VooHeaderConfig -
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