GRotateAnimation constructor

const GRotateAnimation({
  1. required Widget child,
  2. Duration duration = const Duration(milliseconds: 2000),
})

Implementation

const GRotateAnimation({
  required this.child,
  this.duration = const Duration(milliseconds: 2000),
});