DotBackground constructor
const
DotBackground({ - Key? key,
- bool isLoading = false,
- Color? color,
- double dotRadius = 1.0,
- AxisDirection direction = AxisDirection.up,
- double minDotDistance = 22.0,
- double strengthFactor = 1.0,
- Duration duration = const Duration(milliseconds: 1200),
- Curve curve = Curves.linear,
- Widget? child,
})
Implementation
const DotBackground({
super.key,
this.isLoading = false,
this.color,
this.dotRadius = 1.0,
this.direction = AxisDirection.up,
this.minDotDistance = 22.0,
this.strengthFactor = 1.0,
super.duration = const Duration(milliseconds: 1200),
super.curve = Curves.linear,
this.child,
}) : super(
target: isLoading ? null : 1.0,
reverse: false,
);