MouseStyle constructor

const MouseStyle({
  1. Key? key,
  2. Widget? child,
  3. Size size = const Size(15, 15),
  4. BoxDecoration? decoration,
  5. Duration latency = const Duration(milliseconds: 25),
  6. Alignment? alignment = Alignment.center,
  7. double opacity = 1.0,
  8. bool opaque = false,
  9. Duration animationDuration = const Duration(milliseconds: 300),
  10. Curve? animationCurve = Curves.easeOutExpo,
  11. Matrix4? transform,
  12. 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,
});