InfiniteText constructor

const InfiniteText({
  1. Key? key,
  2. required double width,
  3. required String text,
  4. required TextStyle style,
  5. Alignment align = Alignment.center,
  6. EdgeInsetsGeometry? padding,
})

Implementation

const InfiniteText(
    {Key? key,
    required this.width,
    required this.text,
    required this.style,
    this.align = Alignment.center,
    this.padding})
    : super(key: key);