ThunderConfig class

Configuration of the Thunder.

Inheritance
Annotations
  • @freezed

Constructors

ThunderConfig({@Default(10.0) double thunderWidth, @Default(13.0) double blurSigma, @Default(BlurStyle.solid) @JsonKey(ignore: true) BlurStyle blurStyle, @Default(Color.fromARGB(153, 255, 238, 88)) Color color, @Default(50) int flashStartMill, @Default(300) int flashEndMill, @Default(50) int pauseStartMill, @Default(6000) int pauseEndMill, @Default([Offset(110, 210), Offset(120, 240)]) @JsonKey(ignore: true) List<Offset> points})
const
factory
ThunderConfig.fromJson(Map<String, dynamic> json)
factory

Properties

blurSigma double
no setterinherited
blurStyle BlurStyle
no setterinherited
color Color
no setterinherited
copyWith → $ThunderConfigCopyWith<ThunderConfig>
no setterinherited
flashEndMill int
no setterinherited
flashStartMill int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
pauseEndMill int
no setterinherited
pauseStartMill int
no setterinherited
points List<Offset>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thunderWidth 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