TabCardIndicator constructor

TabCardIndicator({
  1. double radius = 12,
  2. Color? color,
  3. List<Color>? gradientColors,
})

Implementation

TabCardIndicator({double radius = 12, Color? color, List<Color>? gradientColors})
    : super(
        borderRadius: BorderRadius.all(Radius.circular(radius)),
        color: color,
        gradient: color == null ? LinearGradient(colors: gradientColors ?? [const Color(0xff796aff), const Color(0xff796aff)]) : null,
      );