gradientFromTo method

VxBox gradientFromTo({
  1. required Color from,
  2. required Color to,
  3. List<double>? stops,
})
inherited

Implementation

T gradientFromTo(
        {required Color from, required Color to, List<double>? stops}) =>
    _gradientIt(
        child: _childToGradient,
        gradient: LinearGradient(colors: [from, to], stops: stops));