NikuAnimated<T> constructor

NikuAnimated<T>({
  1. Key? key,
  2. required T value,
  3. required Widget builder(
    1. Niku niku,
    2. T value
    ),
  4. required Widget child,
  5. Duration duration = const Duration(milliseconds: 200),
  6. Curve curve = Curves.linear,
})

Implementation

NikuAnimated({
  Key? key,
  required this.value,
  required this.builder,
  required this.child,
  this.duration = const Duration(milliseconds: 200),
  this.curve = Curves.linear,
}) : super(key: key);