CalendarRenderBase class abstract
Shared structural base for themed calendar renderers.
Every theme's calendar renders the identical markup produced by buildCalendarMarkup; the only per-theme variation is the set of CSS classes applied to the root/nav/today/day elements and the root inline styles. This base factors the buildCalendarMarkup call into one place and leaves those value-producing members to the concrete subclass.
This base lives in core and depends only on core props and the shared calendar markup; it must never depend on a theme package.
- Inheritance
-
- Object
- Component
- StatelessComponent
- CalendarRenderBase
Constructors
- CalendarRenderBase(CalendarProps props, {Key? key})
-
const
Properties
- classes → String
-
CSS classes applied to the calendar root element.
no setter
- dayButtonClasses → String
-
Extra CSS classes appended to every day button.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one component replaces another component in the tree.
finalinherited
-
Extra CSS classes appended to every navigation button.
no setter
- props → CalendarProps
-
final
-
rootStyles
→ Map<
String, String> -
Inline styles for the calendar root element.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- todayButtonClasses → String
-
Extra CSS classes appended to the "today" button.
no setter
Methods
-
build(
BuildContext context) → Component -
Describes the part of the user interface represented by this component.
override
-
createElement(
) → Element -
Creates a StatelessElement to manage this component's location in the tree.
inherited
-
decorationStyles(
ArcaneDecoration? decoration) → Map< String, String> - Per-instance decoration overrides. Default: none. A theme overrides this to translate an ArcaneDecoration (elevation intent, theme-specific fields) into its own CSS. Fields a theme does not implement are ignored.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldRebuild(
covariant Component newComponent) → bool -
Implement this method to determine whether a rebuild can be skipped.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited