MagicStarterPageHeaderTheme class

Theme configuration for MSPageHeader widget styling.

Controls Wind UI class names for the header container, title, subtitle, and action button row.

All fields are optional; defaults preserve the current responsive layout.

Example

MagicStarterPageHeaderTheme(
  titleClassName: 'text-3xl font-black text-white',
)

Constructors

MagicStarterPageHeaderTheme({String containerClassName = 'w-full flex flex-col sm:flex-row items-start sm:items-center sm:justify-between gap-4 p-2 lg:p-4 border-b border-gray-200 dark:border-gray-700', String containerInlineClassName = 'w-full flex flex-row items-center justify-between gap-4 p-2 lg:p-4 border-b border-gray-200 dark:border-gray-700', String titleClassName = 'text-2xl font-bold text-gray-900 dark:text-white line-clamp-2', String subtitleClassName = 'text-sm text-gray-600 dark:text-gray-400 line-clamp-2', String actionContainerClassName = 'flex flex-row items-center gap-2', String backControlClassName = 'flex items-center justify-center size-9 text-2xl text-fg-muted hover:text-fg', bool inlineActions = false})
const

Properties

actionContainerClassName → String
Action buttons container className.
final
backControlClassName → String
Back affordance control className (chevron + label row rendered as leading).
final
containerClassName → String
Default container className (stacked on mobile, row on desktop).
final
containerInlineClassName → String
Container className when inlineActions mode is active.
final
hashCode → int
The hash code for this object.
no setterinherited
inlineActions → bool
Whether every MSPageHeader lays its title and actions out on ONE row.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subtitleClassName → String
Subtitle text className.
final
titleClassName → String
Title text className.
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