theme library
NAKI UI - THEME API
Exports theme provider, theme configuration, styling models, and text style utilities.
Classes
- BorderData
- Border attributes of a component.
- BorderRadiusData
- Border radius attributes of a component.
- BorderScheme
- Represents customizable global border color and width variables.
- BorderSideData
- Defines side attributes for a border (width, color, style).
- BoxDecoration
- Box decoration attributes of a component.
- ColorSeed
- Represents customizable base and semantic color variables.
- ComponentScheme
- Represents customizable variables for Naki components.
- ComponentStatesColor
- Color attributes for different states of a component.
- DarkThemeData
- Theme data for dark mode used in ThemeConfig.
- DefaultTextStyle
- A Naki component that applies a default style to descendant Naki text components in the component tree.
- Dim
-
Represents CSS dimensions with optional
!importantsuffix. - EdgeInsets
- Represents spacing attributes (margins or paddings) around a component.
- ElevationScheme
- Represents customizable global shadow and elevation color variables.
- Filter
- A builder for creating CSS backdrop filter values.
- Gradient
- A builder for creating CSS background gradients.
- InheritedTheme
- Inherited theme component propagated down the component tree.
- InputDecoration
- The border, label, hint, and helper text styles used to decorate a Naki input component.
- LightThemeData
- Theme data for light mode used in ThemeConfig.
- NakiThemeProvider
- A Naki component that propagates theme state down the component tree.
- PositionData
- Position properties of a component.
- RadiusScheme
- Represents customizable global border radius variables.
- SegmentedInputStyle
- Styling configuration for SegmentedInput component.
- Shadow
- Shadow attributes of a component.
- SizeConstraints
- Size attributes of a component.
- SpacingScheme
- Represents customizable global padding and margin spacing variables.
- TextStyle
- A styling class for text that mimics Flutter's TextStyle and converts to CSS styles.
- ThemeConfig
- Naki Theme Configuration for defining global light and dark theme customizations.
- TypographyScheme
- Represents customizable font family, font size, and font weight variables.
Extensions
- ContextExtension on BuildContext
-
Extension on
BuildContextfor accessing Naki theme state and properties. -
CssPropsExtension
on Map<
String, String> - Extension on Map providing CSS property manipulation utilities.
- DateTimeExtension on DateTime
- Extension on DateTime providing date and time formatting.
- NullishStringExtension on String?
- Extension on nullable String for null and empty checks.
- NumExtension on num
- Extension on num providing currency formatting, rounding, and type check utilities.
- StringExtension on String
- Extension on String providing text formatting, validation, and parsing utilities.
-
ValueListenableExtension
on ValueListenable<
T> -
Extension on
ValueListenablefor reactive component rebuilds.