marquee method

Widget marquee({
  1. TextStyle? textStyle,
  2. Axis scrollAxis = Axis.horizontal,
  3. double ratioOfBlankToScreen = 0.25,
})

Extension method to directly access VxMarquee with any widget without wrapping or with dot operator.

show marquee extension

Implementation

Widget marquee({
  TextStyle? textStyle,
  Axis scrollAxis = Axis.horizontal,
  double ratioOfBlankToScreen = 0.25,
}) =>
    VxMarquee(
      text: this,
      textStyle: textStyle,
      scrollAxis: scrollAxis,
      ratioOfBlankToScreen: ratioOfBlankToScreen,
    );