SundayCupertinoAppBar class

A custom implementation of a Cupertino-style app bar for Sunday app.

This widget provides a customizable app bar that follows the iOS design guidelines and integrates well with the Sunday app's aesthetics.

Inheritance

Constructors

SundayCupertinoAppBar({Key? key, Widget? leading, bool automaticallyImplyLeading = true, Widget? middle, Widget? trailing, Border? border, Color? backgroundColor, Brightness? brightness, EdgeInsetsDirectional? padding, bool transitionBetweenRoutes = true, required String heroTag})
Creates a SundayCupertinoAppBar.
const

Properties

automaticallyImplyLeading bool
Whether to automatically add a back button if leading is null.
final
backgroundColor Color?
The background color of the app bar.
final
border Border?
The border to be drawn at the bottom of the app bar.
final
brightness Brightness?
The brightness of the app bar, typically used to determine the color of the system UI overlays.
final
hashCode int
The hash code for this object.
no setterinherited
heroTag String
The hero tag for the app bar.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leading Widget?
Widget to be placed at the start of the app bar.
final
middle Widget?
Widget to be placed in the middle of the app bar.
final
padding EdgeInsetsDirectional?
The padding for the content inside the app bar.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trailing Widget?
Widget to be placed at the end of the app bar.
final
transitionBetweenRoutes bool
Whether to animate the app bar when transitioning between routes.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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