HeaderStyle class
Class for styling Calendar's header.
Constructors
- HeaderStyle.new({TextStyle? headerTextStyle, Widget? leftIcon, Widget? rightIcon, bool leftIconVisible = true, bool rightIconVisible = true, EdgeInsets headerMargin = EdgeInsets.zero, EdgeInsets headerPadding = EdgeInsets.zero, EdgeInsets leftIconPadding = const EdgeInsets.all(10), EdgeInsets rightIconPadding = const EdgeInsets.all(10), TextAlign titleAlign = TextAlign.center, BoxDecoration? decoration})
-
Create a
HeaderStyle
of calendar viewconst
Properties
- decoration → BoxDecoration?
-
Decoration of whole header.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerMargin → EdgeInsets
-
External margin of the whole header.
final
- headerPadding → EdgeInsets
-
Internal padding of the whole header.
final
- headerTextStyle → TextStyle?
-
Provide text style for calendar's header.
final
- leftIcon → Widget?
-
Widget used for left icon.
final
- leftIconPadding → EdgeInsets
-
Internal padding of left icon.
final
- leftIconVisible → bool
-
Determines left icon visibility.
final
- rightIcon → Widget?
-
Widget used for right icon.
final
- rightIconPadding → EdgeInsets
-
Internal padding of right icon.
final
- rightIconVisible → bool
-
Determines right icon visibility.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- titleAlign → TextAlign
-
Define Alignment of header text.
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