MouseStyle constructor
const
MouseStyle({
- Key? key,
- Widget? child,
- Size size = const Size(15, 15),
- BoxDecoration? decoration,
- Duration latency = const Duration(milliseconds: 25),
- Alignment? alignment = Alignment.center,
- double opacity = 1.0,
- bool opaque = false,
- Duration animationDuration = const Duration(milliseconds: 300),
- Curve? animationCurve = Curves.easeOutExpo,
- Matrix4? transform,
- bool visibleOnHover = false,
Implementation
const MouseStyle({
super.key,
this.child,
this.size = const Size(15, 15),
this.decoration,
this.latency = const Duration(milliseconds: 25),
this.alignment = Alignment.center,
this.opacity = 1.0,
this.opaque = false,
this.animationDuration = const Duration(milliseconds: 300),
this.animationCurve = Curves.easeOutExpo,
this.transform,
this.visibleOnHover = false,
});