AnimatedAlwaysDown constructor

const AnimatedAlwaysDown({
  1. Key? key,
  2. required Widget child,
  3. Curve curve = Curves.linear,
  4. Alignment alignment = Alignment.center,
  5. Duration duration = const Duration(milliseconds: 300),
})

Rotates given child according to current device orientation.

Implementation

const AnimatedAlwaysDown({
  Key? key,
  required this.child,
  this.curve = Curves.linear,
  this.alignment = Alignment.center,
  this.duration = const Duration(milliseconds: 300),
}) : super(key: key);