ChipSelectionItemStyle class
Choice item style configuration
Constructors
- ChipSelectionItemStyle({Color? color, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, double? elevation, double? pressElevation, bool? showCheckmark, TextStyle? labelStyle, EdgeInsetsGeometry? labelPadding, Brightness? brightness, Color? borderColor, double? borderOpacity, double? borderWidth, BorderRadiusGeometry? borderRadius, BorderStyle? borderStyle, OutlinedBorder? borderShape, Color? avatarBorderColor, double? avatarBorderWidth, BorderRadiusGeometry? avatarBorderRadius, BorderStyle? avatarBorderStyle, ShapeBorder? avatarBorderShape, Clip? clipBehavior, MaterialTapTargetSize? materialTapTargetSize, Color? disabledColor})
-
Default Constructor
const
Properties
- avatarBorderColor → Color?
-
Chip border color
final
- avatarBorderRadius → BorderRadiusGeometry?
-
The radii for each corner.
final
- avatarBorderShape → ShapeBorder?
-
Chips shape border
final
- avatarBorderStyle → BorderStyle?
-
The style of this side of the border.
final
- avatarBorderWidth → double?
-
The width of this side of the border, in logical pixels.
final
- borderColor → Color?
-
Chip border color
final
- borderOpacity → double?
-
Chip border opacity,
only effect when brightness is Brightness.light
final
- borderRadius → BorderRadiusGeometry?
-
The radii for each corner.
final
- borderShape → OutlinedBorder?
-
Chips shape border
final
- borderStyle → BorderStyle?
-
The style of this side of the border.
final
- borderWidth → double?
-
The width of this side of the border, in logical pixels.
final
- brightness → Brightness?
-
Chip brightness
final
- clipBehavior → Clip?
-
Chips clip behavior
final
- color → Color?
-
Item color
final
- disabledColor → Color?
-
Color to be used for the chip's background indicating that it is disabled.
final
- elevation → double?
-
Chips elevation
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- labelPadding → EdgeInsetsGeometry?
-
Chip label padding
final
- labelStyle → TextStyle?
-
Chip label style
final
- margin → EdgeInsetsGeometry?
-
choice item margin
final
- materialTapTargetSize → MaterialTapTargetSize?
-
Configures the minimum size of the tap target.
final
- padding → EdgeInsetsGeometry?
-
The padding between the contents of the chip and the outside
shape
.final - pressElevation → double?
-
Longpress chips elevation
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showCheckmark → bool?
-
whether the chips use checkmark or not
final
Methods
-
copyWith(
{Color? color, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, double? elevation, double? pressElevation, bool? showCheckmark, TextStyle? labelStyle, EdgeInsetsGeometry? labelPadding, Brightness? brightness, Color? borderColor, double? borderOpacity, double? borderWidth, BorderRadiusGeometry? borderRadius, BorderStyle? borderStyle, OutlinedBorder? borderShape, Color? avatarBorderColor, double? avatarBorderWidth, BorderRadiusGeometry? avatarBorderRadius, BorderStyle? avatarBorderStyle, ShapeBorder? avatarBorderShape, Clip? clipBehavior, MaterialTapTargetSize? materialTapTargetSize, Color? disabledColor}) → ChipSelectionItemStyle - Creates a copy of this ChipSelectionItemStyle but with the given fields replaced with the new values.
-
merge(
ChipSelectionItemStyle? other) → ChipSelectionItemStyle - Creates a copy of this ChipSelectionItemStyle but with the given fields replaced with the new values.
-
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