NikuButtonStyle class
- Mixed-in types
Constructors
-
NikuButtonStyle({NikuState<
NikuTextStyle?> ? textStyleState, NikuState<Color?> ? backgroundColorState, NikuState<Color?> ? foregroundColorState, NikuState<Color?> ? overlayColorState, NikuState<Color?> ? shadowColorState, NikuState<double?> ? elevationState, NikuState<EdgeInsets?> ? paddingState, NikuState<Size?> ? minimumSizeState, NikuState<Size?> ? fixedSizeState, NikuState<Size?> ? maximumSizeState, NikuState<BorderSide?> ? sideState, NikuState<OutlinedBorder?> ? shapeState, NikuState<MouseCursor?> ? mouseCursorState, VisualDensity? visualDensity, MaterialTapTargetSize? tapTargetSize, Duration? animationDuration, bool? enableFeedback, AlignmentGeometry? alignment, InteractiveInkFeatureFactory? splashFactory, NikuTextStyle? textStyle, Color? backgroundColor, Color? foregroundColor, Color? overlayColor, Color? shadowColor, double? elevation, EdgeInsets? padding, Size? minimumSize, Size? fixedSize, Size? maximumSize, BorderSide? side, OutlinedBorder? shape, MouseCursor? mouseCursor})
Properties
- alignment ↔ AlignmentGeometry?
-
getter/setter pairoverride
- animationDuration ↔ Duration?
-
getter/setter pair
- apply ← NikuButtonStyle?
-
no getter
- backgroundColor ← Color
-
no getter
-
backgroundColorState
↔ NikuState<
Color?> ? -
getter/setter pair
- bg ← Color
-
no getter
- border ← BorderSide
-
no getter
- bottomCenter → void
-
no setterinherited
- bottomEnd → void
-
no setterinherited
- bottomStart → void
-
no setterinherited
- center → void
-
no setterinherited
- centerEnd → void
-
no setterinherited
- centerStart → void
-
no setterinherited
- copied → NikuButtonStyle
-
no setter
- elevation ← double
-
no getter
-
elevationState
↔ NikuState<
double?> ? -
getter/setter pair
- enableFeedback ↔ bool?
-
getter/setter pair
- fg ← Color
-
no getter
-
fixedSizeState
↔ NikuState<
Size?> ? -
getter/setter pair
- foregroundColor ← Color
-
no getter
-
foregroundColorState
↔ NikuState<
Color?> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- maximumSize ← Size
-
no getter
-
maximumSizeState
↔ NikuState<
Size?> ? -
getter/setter pair
- maxSize ← Size
-
no getter
- minimumSize ← Size
-
no getter
-
minimumSizeState
↔ NikuState<
Size?> ? -
getter/setter pair
- minSize ← Size
-
no getter
- mouseCursor ← MouseCursor
-
no getter
-
mouseCursorState
↔ NikuState<
MouseCursor?> ? -
getter/setter pair
- overlay ← Color
-
no getter
- overlayColor ← Color
-
no getter
-
overlayColorState
↔ NikuState<
Color?> ? -
getter/setter pair
- p ← double
-
no getter
- padding ← EdgeInsets
-
no getter
-
paddingState
↔ NikuState<
EdgeInsets?> ? -
getter/setter pair
- pb ← double
-
no getter
- pl ← double
-
no getter
- pr ← double
-
no getter
- pt ← double
-
no getter
- px ← double
-
no getter
- py ← double
-
no getter
- rounded ↔ double
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadowColor ← Color
-
no getter
-
shadowColorState
↔ NikuState<
Color?> ? -
getter/setter pair
- shape ← OutlinedBorder
-
no getter
-
shapeState
↔ NikuState<
OutlinedBorder?> ? -
getter/setter pair
- side ← BorderSide
-
no getter
-
sideState
↔ NikuState<
BorderSide?> ? -
getter/setter pair
- splash ← Color
-
no getter
- splashFactory ↔ InteractiveInkFeatureFactory?
-
getter/setter pair
- tapTargetSize ↔ MaterialTapTargetSize?
-
getter/setter pair
- textStyle ← NikuTextStyle
-
no getter
-
textStyleState
↔ NikuState<
NikuTextStyle?> ? -
getter/setter pair
- topCenter → void
-
no setterinherited
- topEnd → void
-
no setterinherited
- topStart → void
-
no setterinherited
- value → ButtonStyle
-
no setter
- visualDensity ↔ VisualDensity?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
useBg(
{Color? base, Color? disabled, Color? dragged, Color? error, Color? focused, Color? hovered, Color? pressed, Color? scrolledUnder, Color? selected}) → void -
useColor(
{Color? base, Color? disabled, Color? dragged, Color? error, Color? focused, Color? hovered, Color? pressed, Color? scrolledUnder, Color? selected}) → void -
useCursor(
{MouseCursor? base, MouseCursor? disabled, MouseCursor? dragged, MouseCursor? error, MouseCursor? focused, MouseCursor? hovered, MouseCursor? pressed, MouseCursor? scrolledUnder, MouseCursor? selected}) → void -
useElevation(
{double? base, double? disabled, double? dragged, double? error, double? focused, double? hovered, double? pressed, double? scrolledUnder, double? selected}) → void -
useFg(
{Color? base, Color? disabled, Color? dragged, Color? error, Color? focused, Color? hovered, Color? pressed, Color? scrolledUnder, Color? selected}) → void -
useMaximumSize(
{Size? base, Size? disabled, Size? dragged, Size? error, Size? focused, Size? hovered, Size? pressed, Size? scrolledUnder, Size? selected}) → void -
useMaxSize(
{Size? base, Size? disabled, Size? dragged, Size? error, Size? focused, Size? hovered, Size? pressed, Size? scrolledUnder, Size? selected}) → void -
useMinimumSize(
{Size? base, Size? disabled, Size? dragged, Size? error, Size? focused, Size? hovered, Size? pressed, Size? scrolledUnder, Size? selected}) → void -
useMinSize(
{Size? base, Size? disabled, Size? dragged, Size? error, Size? focused, Size? hovered, Size? pressed, Size? scrolledUnder, Size? selected}) → void -
useNikuTextStyle(
NikuTextStyle v(NikuTextStyle)) → void -
useOverlayColor(
{Color? base, Color? disabled, Color? dragged, Color? error, Color? focused, Color? hovered, Color? pressed, Color? scrolledUnder, Color? selected}) → void -
useP(
{double? base, double? disabled, double? dragged, double? error, double? focused, double? hovered, double? pressed, double? scrolledUnder, double? selected}) → void -
usePadding(
{EdgeInsets? base, EdgeInsets? disabled, EdgeInsets? dragged, EdgeInsets? error, EdgeInsets? focused, EdgeInsets? hovered, EdgeInsets? pressed, EdgeInsets? scrolledUnder, EdgeInsets? selected}) → void -
useRounded(
{double base = 0, double? disabled, double? dragged, double? error, double? focused, double? hovered, double? pressed, double? scrolledUnder, double? selected}) → void -
useShadowColor(
{Color? base, Color? disabled, Color? dragged, Color? error, Color? focused, Color? hovered, Color? pressed, Color? scrolledUnder, Color? selected}) → void -
useShape(
{OutlinedBorder? base, OutlinedBorder? disabled, OutlinedBorder? dragged, OutlinedBorder? error, OutlinedBorder? focused, OutlinedBorder? hovered, OutlinedBorder? pressed, OutlinedBorder? scrolledUnder, OutlinedBorder? selected}) → void -
useSide(
{BorderSide? base, BorderSide? disabled, BorderSide? dragged, BorderSide? error, BorderSide? focused, BorderSide? hovered, BorderSide? pressed, BorderSide? scrolledUnder, BorderSide? selected}) → void -
useSplash(
{Color? base, Color? disabled, Color? dragged, Color? error, Color? focused, Color? hovered, Color? pressed, Color? scrolledUnder, Color? selected}) → void -
useTextStyle(
{NikuTextStyle base(NikuTextStyle)?, NikuTextStyle disabled(NikuTextStyle)?, NikuTextStyle dragged(NikuTextStyle)?, NikuTextStyle error(NikuTextStyle)?, NikuTextStyle focused(NikuTextStyle)?, NikuTextStyle hovered(NikuTextStyle)?, NikuTextStyle pressed(NikuTextStyle)?, NikuTextStyle scrolledUnder(NikuTextStyle)?, NikuTextStyle selected(NikuTextStyle)?}) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited