KinConfig class

Gate for built-in theme presets.

Call KinConfig.init with a valid dev key to unlock KinTheme.light and KinTheme.dark. Without it, those getters throw in debug mode.

Properties

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

Static Properties

isAuthorized bool
Whether the built-in presets are unlocked.
no setter

Static Methods

init({required String devKey}) → void
Provide a valid dev key to unlock built-in theme presets.