ScrollItemView constructor

ScrollItemView({
  1. required String text,
  2. double fontSize = 16,
  3. double duration = 10,
  4. Color color = Colors.white,
  5. double y = 0,
  6. double x = 0,
  7. Size size = Size.zero,
  8. bool border = true,
  9. dynamic onComplete(
    1. String
    )?,
  10. dynamic onCreated(
    1. AnimationController
    )?,
  11. required UniqueKey key,
})

Implementation

ScrollItemView({
  required this.text,
  this.fontSize = 16,
  this.duration = 10,
  this.color = Colors.white,
  this.y = 0,
  this.x = 0,
  this.size = Size.zero,
  this.border = true,
  this.onComplete,
  this.onCreated,
  required UniqueKey key,
}) : super(key: key);