FeaturelyTheme class

Theming knobs a host app can pass to Featurely.init.

Everything is optional; unset knobs inherit from the host: accent from Theme.of(context).colorScheme.primary, corner radius 12, brightness from the host theme, font from the host's default text style.

Constructors

FeaturelyTheme({Color? accentColor, double? cornerRadius, Brightness? brightness, String? fontFamily})
Creates a theme override; all parameters are optional.
const

Properties

accentColor → Color?
Accent used for CTAs, vote states, chips, and the Team badge.
final
brightness → Brightness?
Forces light or dark; defaults to the host theme's brightness.
final
cornerRadius → double?
Corner radius for buttons, fields, and the vote box. Defaults to 12.
final
fontFamily → String?
Font family; defaults to the host's font.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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