WindConfig class
Configuration of the Wind.
- Inheritance
-
- Object
- WeatherConfig
- WindConfig
- Annotations
-
- @freezed
Constructors
- WindConfig({@Default(6.0) double width, @Default(300.0) double y, @Default(14.0) double windGap, @Default(8.0) double blurSigma, @Default(Color.fromARGB(255, 96, 125, 139)) Color color, @Default(0.0) double slideXStart, @Default(500.0) double slideXEnd, @Default(50) int pauseStartMill, @Default(6000) int pauseEndMill, @Default(1000) int slideDurMill, @Default(BlurStyle.solid) @JsonKey(ignore: true) BlurStyle blurStyle})
-
constfactory
-
WindConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
- blurSigma → double
-
no setterinherited
- blurStyle → BlurStyle
-
no setterinherited
- color → Color
-
no setterinherited
-
copyWith
→ $WindConfigCopyWith<
WindConfig> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- pauseEndMill → int
-
no setterinherited
- pauseStartMill → int
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slideDurMill → int
-
no setterinherited
- slideXEnd → double
-
no setterinherited
- slideXStart → double
-
no setterinherited
- width → double
-
no setterinherited
- windGap → double
-
no setterinherited
- y → double
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited