FadeIn constructor Null safety

FadeIn(
  1. [int? duration]
)

Implementation

FadeIn([int? duration]) {
  _duration = duration;
}