FCCAppBar class

Inheritance
Implemented types

Constructors

FCCAppBar({Key? key, String? title, String? subtitle, Widget? leading, List<Widget>? actions, Widget? bottomContent, bool showSearchBar = false, TextEditingController? searchController, ValueChanged<String>? onSearchChanged, ValueChanged<String>? onSearchSubmitted, String? searchHintText, Widget? searchPrefixIcon, Widget? searchSuffixIcon, bool searchAutofocus = false, bool showConnectionStatus = false, bool isOffline = false, String? connectionStatusText, Color? connectionStatusColor, IconData? connectionStatusIcon, VoidCallback? onConnectionStatusTap, Gradient? gradient, bool dense = false, double? appBarElevation, ShapeBorder? appBarShapeOverride, bool respectTopSafeArea = true, FCCAppBarSurfaceStyle surfaceStyle = FCCAppBarSurfaceStyle.neumorphicRaised, Color? surfaceColor, EdgeInsetsGeometry surfaceMargin = const EdgeInsets.fromLTRB(12, 6, 12, 10), double surfaceBorderRadius = 24, bool isNotificationVisible = true, int? notificationCount, VoidCallback? onNotificationTap, VoidCallback? onNotificationLongPress, Widget notificationPanelBuilder(BuildContext)?, Color? notificationBadgeColor, Color? notificationBadgeTextColor, bool showNotificationDotOnly = false, String? notificationsSemanticLabel, String? profileImagePath, String? userName, String? status, String? userRole, dynamic onProfileTap(BuildContext)?, VoidCallback? onLogout, Widget profileMenuBuilder(BuildContext)?, bool isProfileLoading = false, AvatarAnimationMode avatarAnimation = AvatarAnimationMode.fadeIn, String? avatarHeroTag, VoidCallback? onStatusTap, Widget customFallbackAvatar(BuildContext, String initial)?, void onProfileImageError(Object error)?, String profileMenuTitle = 'User Menu', String viewProfileLabel = 'View Profile', String logoutLabel = 'Logout', String cancelLabel = 'Cancel', String? profileSemanticLabel})
const

Properties

actions List<Widget>?
final
appBarElevation double?
final
appBarShapeOverride ShapeBorder?
final
avatarAnimation AvatarAnimationMode
final
avatarHeroTag String?
final
bottomContent Widget?
final
cancelLabel String
final
connectionStatusColor Color?
final
connectionStatusIcon IconData?
final
connectionStatusText String?
final
customFallbackAvatar Widget Function(BuildContext, String initial)?
final
dense bool
final
gradient Gradient?
final
hashCode int
The hash code for this object.
no setterinherited
isNotificationVisible bool
final
isOffline bool
final
isProfileLoading bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leading Widget?
final
logoutLabel String
final
notificationBadgeColor Color?
final
notificationBadgeTextColor Color?
final
notificationCount int?
final
notificationPanelBuilder Widget Function(BuildContext)?
final
notificationsSemanticLabel String?
final
onConnectionStatusTap VoidCallback?
final
onLogout VoidCallback?
final
onNotificationLongPress VoidCallback?
final
onNotificationTap VoidCallback?
final
onProfileImageError → void Function(Object error)?
final
onProfileTap → dynamic Function(BuildContext)?
final
onSearchChanged ValueChanged<String>?
final
onSearchSubmitted ValueChanged<String>?
final
onStatusTap VoidCallback?
final
preferredSize Size
The size this widget would prefer if it were otherwise unconstrained.
no setteroverride
profileImagePath String?
final
profileMenuBuilder Widget Function(BuildContext)?
final
profileMenuTitle String
final
profileSemanticLabel String?
final
respectTopSafeArea bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchAutofocus bool
final
searchController TextEditingController?
final
searchHintText String?
final
searchPrefixIcon Widget?
final
searchSuffixIcon Widget?
final
showConnectionStatus bool
final
showNotificationDotOnly bool
final
showSearchBar bool
final
status String?
final
subtitle String?
final
surfaceBorderRadius double
Border radius for the neumorphic card.
final
surfaceColor Color?
Base color for flat / neumorphic styles.
final
surfaceMargin EdgeInsetsGeometry
Margin around the neumorphic surface so shadows are visible.
final
surfaceStyle FCCAppBarSurfaceStyle
Surface style for the background (gradient / flat / neumorphic).
final
title String?
final
userName String?
final
userRole String?
final
viewProfileLabel String
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<FCCAppBar>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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