SlideInAnimation constructor
const
SlideInAnimation({})
Custom offset for the slide animation (optional). Constructor for the SlideInAnimation widget.
Implementation
/// Constructor for the SlideInAnimation widget.
const SlideInAnimation({
Key? key,
required this.child,
this.direction = Direction.left,
/// Default direction is from the left.
this.offset,
this.duration = const Duration(milliseconds: 500),
/// Default animation duration.
}) : super(key: key);