ScrollLabel constructor

const ScrollLabel({
  1. Key? key,
  2. required Text child,
  3. required Animation<double>? animation,
  4. required Color backgroundColor,
  5. BoxConstraints? constraints = _defaultConstraints,
})

Implementation

const ScrollLabel({
  Key? key,
  required this.child,
  required this.animation,
  required this.backgroundColor,
  this.constraints = _defaultConstraints,
}) : super(key: key);