PointerTransition constructor

const PointerTransition({
  1. Key? key,
  2. required Widget child,
  3. Alignment origin = Alignment.center,
  4. bool useGlobalPointer = false,
  5. bool transitionBetweenBounds = true,
  6. bool resetOnExitBounds = true,
  7. PointerTransitionBuilder? builder,
  8. Curve curve = appleEaseInOut,
  9. Duration duration = const Duration(milliseconds: 125),
})

Creates a new PointerTransition with the given builder, origin, useGlobalPointer, child, curve, and duration.

Implementation

const PointerTransition({
  super.key,
  required this.child,
  this.origin = Alignment.center,
  this.useGlobalPointer = false,
  this.transitionBetweenBounds = true,
  this.resetOnExitBounds = true,
  this.builder,
  this.curve = appleEaseInOut,
  this.duration = const Duration(milliseconds: 125),
});