ComponentScheme class
Represents customizable variables for Naki components.
Constructors
- ComponentScheme({int? textMaxLines, Dim? inputHeight, Color? inputTextColor, Color? labelColor, Dim? fontSizeInput, Color? fieldBackgroundColor, Color? fieldHoverColor, Color? buttonBackgroundColor, Color? buttonColor, Dim? buttonHeight, Dim? buttonWidth, Dim? dropdownHeight, Dim? dropdownWidth, Dim? dropdownMenuHeight, Color? dropdownMenuBackgroundColor, Dim? dropdownOptionFontSize, Dim? dropdownOptionPadding, Dim? spinnerSize, Dim? spinnerBorderWidth, Color? spinnerTrackColor, Color? spinnerColor, Color? spinnerBladeColor, Color? spinnerSurfaceColor, double? spinnerGlassRim, Color? sliderThumbColor, Color? sliderTrackColor, Dim? sliderThumbSize, Color? switchThumbColor, Dim? radioButtonRadius, Color? radioButtonColor, Color? appbarBackgroundColor, Dim? appbarHeight, double? glassTint, double? glassRim, Dim? glassBlur, Dim? carouselItemExtent, Dim? carouselGap, Color? tableHeaderBackgroundColor, Color? tableHeaderBorderColor, Color? tableRowHoverColor, Dim? gridGap, Color? snackbarBackgroundColor, Color? snackbarForegroundColor, Dim? snackbarBorderRadius, Color? bannerBackgroundColor, Color? bannerForegroundColor, Dim? bannerBorderRadius, Color? bannerBorderColor, Color? tooltipBackgroundColor, Color? tooltipTextColor, Dim? tooltipBorderRadius, Dim? tooltipFontSize, Color? popoverBackgroundColor, Color? popoverTextColor, Color? popoverBorderColor, Dim? popoverBorderRadius, Color? dialogBackgroundColor, Dim? dialogBorderRadius, Color? dialogBarrierBackgroundColor, Color? drawerBackgroundColor, Dim? drawerWidth, Color? drawerBarrierBackgroundColor, Color? bottomSheetBackgroundColor, Dim? bottomSheetMaxHeight, Color? bottomSheetBarrierBackgroundColor, Color? buttonHoverBgColor, CalendarScheme? calendar})
-
const
Properties
- appbarBackgroundColor → Color?
-
Appbar background color.
final
- appbarHeight → Dim?
-
Appbar height.
final
-
Banner background color.
final
-
Banner border color.
final
-
Banner border radius.
final
-
Banner foreground color.
final
-
Bottom navbar background color.
final
-
Backdrop blur of a frosted glass bottom navbar,
for example
Dim.px(20).final -
How strongly the droplet of a frosted glass bar darkens
and tints the content behind it
in percent.final -
Displacement of a liquid glass bottom navbar
in percent, where0leaves the bar frosted.final -
Strength of the light rim on a frosted glass bar
and its droplet
in percent.final -
How much of the bottom navbar background color
a frosted glass bar keeps
in percent.final -
Bottom navbar height.
final
- bottomSheetBackgroundColor → Color?
-
Bottom sheet background color.
final
- bottomSheetBarrierBackgroundColor → Color?
-
Bottom sheet barrier backdrop color.
final
- bottomSheetMaxHeight → Dim?
-
Bottom sheet max height.
final
-
Button background color.
final
-
Button text color.
final
-
Button height.
final
-
Button hover background color.
final
-
Button width.
final
- calendar → CalendarScheme?
-
Calendar picker sizes.
final
- carouselGap → Dim?
-
Carousel gap.
final
- carouselItemExtent → Dim?
-
Carousel item extent.
final
- dialogBackgroundColor → Color?
-
Dialog background color.
final
- dialogBarrierBackgroundColor → Color?
-
Dialog barrier backdrop color.
final
- dialogBorderRadius → Dim?
-
Dialog border radius.
final
- drawerBackgroundColor → Color?
-
Drawer background color.
final
- drawerBarrierBackgroundColor → Color?
-
Drawer barrier backdrop color.
final
- drawerWidth → Dim?
-
Drawer width.
final
- dropdownHeight → Dim?
-
Dropdown default trigger height.
final
- dropdownMenuBackgroundColor → Color?
-
Dropdown menu background color.
final
- dropdownMenuHeight → Dim?
-
Dropdown menu height.
final
- dropdownOptionFontSize → Dim?
-
Dropdown option font size.
final
- dropdownOptionPadding → Dim?
-
Dropdown option padding.
final
- dropdownWidth → Dim?
-
Dropdown default trigger width.
final
- fieldBackgroundColor → Color?
-
Input background color.
final
- fieldHoverColor → Color?
-
Input hover border color.
final
- fontSizeInput → Dim?
-
Input font size.
final
- glassBlur → Dim?
-
Backdrop blur of a glass card or dialog.
final
- glassRim → double?
-
Strength of the light rim on a glass card or dialog
in percent.final - glassTint → double?
-
How much of its background color a glass card or dialog
keeps
in percent.final - gridGap → Dim?
-
Grid gap.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- inputHeight → Dim?
-
Input height for
TextField,Dropdown, etc.final - inputTextColor → Color?
-
Input text color.
final
- labelColor → Color?
-
Label color.
final
- popoverBackgroundColor → Color?
-
Popover background color.
final
- popoverBorderColor → Color?
-
Popover border color.
final
- popoverBorderRadius → Dim?
-
Popover border radius.
final
- popoverTextColor → Color?
-
Popover text color.
final
- radioButtonColor → Color?
-
Radio button color.
final
- radioButtonRadius → Dim?
-
Radio button radius.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sliderThumbColor → Color?
-
Slider thumb color.
final
- sliderThumbSize → Dim?
-
Slider thumb size.
final
- sliderTrackColor → Color?
-
Slider track color.
final
- snackbarBackgroundColor → Color?
-
Snackbar background color.
final
- snackbarBorderRadius → Dim?
-
Snackbar border radius.
final
- snackbarForegroundColor → Color?
-
Snackbar foreground color.
final
- spinnerBladeColor → Color?
-
Spinner blade color (for iOS spinner style).
final
- spinnerBorderWidth → Dim?
-
Spinner border width.
final
- spinnerColor → Color?
-
Spinner color.
final
- spinnerGlassRim → double?
-
Strength of the light rim on a glass spinner
in percent.final - spinnerSize → Dim?
-
Spinner size.
final
- spinnerSurfaceColor → Color?
-
Spinner surface color (for glassmorphism spinner style).
final
- spinnerTrackColor → Color?
-
Spinner track color.
final
- switchThumbColor → Color?
-
Switch thumb color.
final
- tableHeaderBackgroundColor → Color?
-
Table header background color.
final
- tableHeaderBorderColor → Color?
-
Table header border color.
final
- tableRowHoverColor → Color?
-
Table row hover background color.
final
- textMaxLines → int?
-
Text max lines.
final
- tooltipBackgroundColor → Color?
-
Tooltip background color.
final
- tooltipBorderRadius → Dim?
-
Tooltip border radius.
final
- tooltipFontSize → Dim?
-
Tooltip font size.
final
- tooltipTextColor → Color?
-
Tooltip text color.
final
Methods
-
copyWith(
{int? textMaxLines, Dim? inputHeight, Color? inputTextColor, Color? labelColor, Dim? fontSizeInput, Color? fieldBackgroundColor, Color? fieldHoverColor, Color? buttonBackgroundColor, Color? buttonColor, Color? buttonHoverBgColor, Dim? buttonHeight, Dim? buttonWidth, Dim? dropdownHeight, Dim? dropdownWidth, Dim? dropdownMenuHeight, Color? dropdownMenuBackgroundColor, Dim? dropdownOptionFontSize, Dim? dropdownOptionPadding, Dim? spinnerSize, Dim? spinnerBorderWidth, Color? spinnerTrackColor, Color? spinnerColor, Color? spinnerBladeColor, Color? spinnerSurfaceColor, double? spinnerGlassRim, Color? sliderThumbColor, Color? sliderTrackColor, Dim? sliderThumbSize, Color? switchThumbColor, Dim? radioButtonRadius, Color? radioButtonColor, Color? appbarBackgroundColor, Dim? appbarHeight, double? glassTint, double? glassRim, Dim? glassBlur, Dim? carouselItemExtent, Dim? carouselGap, Color? tableHeaderBackgroundColor, Color? tableHeaderBorderColor, Color? tableRowHoverColor, Dim? gridGap, Color? snackbarBackgroundColor, Color? snackbarForegroundColor, Dim? snackbarBorderRadius, Color? bannerBackgroundColor, Color? bannerForegroundColor, Dim? bannerBorderRadius, Color? bannerBorderColor, Color? tooltipBackgroundColor, Color? tooltipTextColor, Dim? tooltipBorderRadius, Dim? tooltipFontSize, Color? popoverBackgroundColor, Color? popoverTextColor, Color? popoverBorderColor, Dim? popoverBorderRadius, Color? dialogBackgroundColor, Dim? dialogBorderRadius, Color? dialogBarrierBackgroundColor, Color? drawerBackgroundColor, Dim? drawerWidth, Color? drawerBarrierBackgroundColor, Color? bottomSheetBackgroundColor, Dim? bottomSheetMaxHeight, Color? bottomSheetBarrierBackgroundColor, CalendarScheme? calendar}) → ComponentScheme -
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.
override