CometChatSpacing class
CometChatSpacing is a class that holds the spacing values for the CometChat UI Kit.
- Inheritance
-
- Object
- ThemeExtension<
CometChatSpacing> - CometChatSpacing
Constructors
- CometChatSpacing({double? spacing = 2, double? spacing1 = 4, double? spacing2 = 8, double? spacing3 = 12, double? spacing4 = 16, double? spacing5 = 20, double? spacing6 = 24, double? spacing7 = 28, double? spacing8 = 32, double? spacing9 = 36, double? spacing10 = 40, double? spacing11 = 44, double? spacing12 = 48, double? spacing13 = 52, double? spacing14 = 56, double? spacing15 = 60, double? spacing16 = 64, double? spacing17 = 68, double? spacing18 = 72, double? spacing19 = 76, double? spacing20 = 80, double? spacingMax = 1000, double? padding, double? padding1, double? padding2, double? padding3, double? padding4, double? padding5, double? padding6, double? padding7, double? padding8, double? padding9, double? padding10, double? margin, double? margin1, double? margin2, double? margin3, double? margin4, double? margin5, double? margin6, double? margin7, double? margin8, double? margin9, double? margin10, double? margin11, double? margin12, double? margin13, double? margin14, double? margin15, double? margin16, double? margin17, double? margin18, double? margin19, double? margin20, double? radius, double? radius1, double? radius2, double? radius3, double? radius4, double? radius5, double? radius6, double? radiusMax})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- margin ↔ double?
-
margin defines the default margin value of 2 obtained from spacing.
getter/setter pair
- margin1 ↔ double?
-
margin1 defines the margin value of 4 obtained from spacing1.
getter/setter pair
- margin10 ↔ double?
-
margin10 defines the margin value of 40 obtained from spacing10.
getter/setter pair
- margin11 ↔ double?
-
margin11 defines the margin value of 44 obtained from spacing11.
getter/setter pair
- margin12 ↔ double?
-
margin12 defines the margin value of 48 obtained from spacing12.
getter/setter pair
- margin13 ↔ double?
-
margin13 defines the margin value of 52 obtained from spacing13.
getter/setter pair
- margin14 ↔ double?
-
margin14 defines the margin value of 56 obtained from spacing14.
getter/setter pair
- margin15 ↔ double?
-
margin15 defines the margin value of 60 obtained from spacing15.
getter/setter pair
- margin16 ↔ double?
-
margin16 defines the margin value of 64 obtained from spacing16.
getter/setter pair
- margin17 ↔ double?
-
margin17 defines the margin value of 68 obtained from spacing17.
getter/setter pair
- margin18 ↔ double?
-
margin18 defines the margin value of 72 obtained from spacing18.
getter/setter pair
- margin19 ↔ double?
-
margin19 defines the margin value of 76 obtained from spacing19.
getter/setter pair
- margin2 ↔ double?
-
margin2 defines the margin value of 8 obtained from spacing2.
getter/setter pair
- margin20 ↔ double?
-
margin20 defines the margin value of 80 obtained from spacing20.
getter/setter pair
- margin3 ↔ double?
-
margin3 defines the margin value of 12 obtained from spacing3.
getter/setter pair
- margin4 ↔ double?
-
margin4 defines the margin value of 16 obtained from spacing4.
getter/setter pair
- margin5 ↔ double?
-
margin5 defines the margin value of 20 obtained from spacing5.
getter/setter pair
- margin6 ↔ double?
-
margin6 defines the margin value of 24 obtained from spacing6.
getter/setter pair
- margin7 ↔ double?
-
margin7 defines the margin value of 28 obtained from spacing7.
getter/setter pair
- margin8 ↔ double?
-
margin8 defines the margin value of 32 obtained from spacing8.
getter/setter pair
- margin9 ↔ double?
-
margin9 defines the margin value of 36 obtained from spacing9.
getter/setter pair
- padding ↔ double?
-
padding defines the default padding value of 2 obtained from spacing.
getter/setter pair
- padding1 ↔ double?
-
padding1 defines the padding value of 4 obtained from spacing1.
getter/setter pair
- padding10 ↔ double?
-
padding10 defines the padding value of 40 obtained from spacing10.
getter/setter pair
- padding2 ↔ double?
-
padding2 defines the padding value of 8 obtained from spacing2.
getter/setter pair
- padding3 ↔ double?
-
padding3 defines the padding value of 12 obtained from spacing3.
getter/setter pair
- padding4 ↔ double?
-
padding4 defines the padding value of 16 obtained from spacing4.
getter/setter pair
- padding5 ↔ double?
-
padding5 defines the padding value of 20 obtained from spacing5.
getter/setter pair
- padding6 ↔ double?
-
padding6 defines the padding value of 24 obtained from spacing6.
getter/setter pair
- padding7 ↔ double?
-
padding7 defines the padding value of 28 obtained from spacing7.
getter/setter pair
- padding8 ↔ double?
-
padding8 defines the padding value of 32 obtained from spacing8.
getter/setter pair
- padding9 ↔ double?
-
padding9 defines the padding value of 36 obtained from spacing9.
getter/setter pair
- radius ↔ double?
-
radius defines the radius value of 2 obtained from spacing.
getter/setter pair
- radius1 ↔ double?
-
radius1 defines the radius value of 4 obtained from spacing1.
getter/setter pair
- radius2 ↔ double?
-
radius2 defines the radius value of 8 obtained from spacing2.
getter/setter pair
- radius3 ↔ double?
-
radius3 defines the radius value of 12 obtained from spacing3.
getter/setter pair
- radius4 ↔ double?
-
radius4 defines the radius value of 16 obtained from spacing4.
getter/setter pair
- radius5 ↔ double?
-
radius5 defines the radius value of 20 obtained from spacing5.
getter/setter pair
- radius6 ↔ double?
-
radius6 defines the radius value of 24 obtained from spacing6.
getter/setter pair
- radiusMax ↔ double?
-
radiusMax defines the maximum radius value of 1000 obtained from spacingMax.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spacing → double?
-
spacing defines the spacing value of 2.
final
- spacing1 → double?
-
spacing1 defines the spacing value of 4.
final
- spacing10 → double?
-
spacing10 defines the spacing value of 40.
final
- spacing11 → double?
-
spacing11 defines the spacing value of 44.
final
- spacing12 → double?
-
spacing12 defines the spacing value of 48.
final
- spacing13 → double?
-
spacing13 defines the spacing value of 52.
final
- spacing14 → double?
-
spacing14 defines the spacing value of 56.
final
- spacing15 → double?
-
spacing15 defines the spacing value of 60.
final
- spacing16 → double?
-
spacing16 defines the spacing value of 64.
final
- spacing17 → double?
-
spacing17 defines the spacing value of 68.
final
- spacing18 → double?
-
spacing18 defines the spacing value of 72.
final
- spacing19 → double?
-
spacing19 defines the spacing value of 76.
final
- spacing2 → double?
-
spacing2 defines the spacing value of 8.
final
- spacing20 → double?
-
spacing20 defines the spacing value of 80.
final
- spacing3 → double?
-
spacing3 defines the spacing value of 12.
final
- spacing4 → double?
-
spacing4 defines the spacing value of 16.
final
- spacing5 → double?
-
spacing5 defines the spacing value of 20.
final
- spacing6 → double?
-
spacing6 defines the spacing value of 24.
final
- spacing7 → double?
-
spacing7 defines the spacing value of 28.
final
- spacing8 → double?
-
spacing8 defines the spacing value of 32.
final
- spacing9 → double?
-
spacing9 defines the spacing value of 36.
final
- spacingMax → double?
-
spacingMax defines the maximum spacing value of 1000.
final
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{double? spacing, double? spacing1, double? spacing2, double? spacing3, double? spacing4, double? spacing5, double? spacing6, double? spacing7, double? spacing8, double? spacing9, double? spacing10, double? spacing11, double? spacing12, double? spacing13, double? spacing14, double? spacing15, double? spacing16, double? spacing17, double? spacing18, double? spacing19, double? spacing20, double? spacingMax, double? padding, double? padding1, double? padding2, double? padding3, double? padding4, double? padding5, double? padding6, double? padding7, double? padding8, double? padding9, double? padding10, double? padding11, double? padding12, double? padding13, double? padding14, double? padding15, double? padding16, double? padding17, double? padding18, double? padding19, double? padding20, double? paddingMax, double? margin, double? margin1, double? margin2, double? margin3, double? margin4, double? margin5, double? margin6, double? margin7, double? margin8, double? margin9, double? margin10, double? margin11, double? margin12, double? margin13, double? margin14, double? margin15, double? margin16, double? margin17, double? margin18, double? margin19, double? margin20, double? marginMax, double? radius, double? radius1, double? radius2, double? radius3, double? radius4, double? radius5, double? radius6, double? radiusMax}) → CometChatSpacing -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< CometChatSpacing> ? other, double t) → CometChatSpacing -
Linearly interpolate with another ThemeExtension object.
override
-
merge(
CometChatSpacing? other) → CometChatSpacing -
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 Methods
-
of(
BuildContext context) → CometChatSpacing