AutoScrollTag constructor

const AutoScrollTag({
  1. required Key key,
  2. required AutoScrollController controller,
  3. required int index,
  4. Widget? child,
  5. TagHighlightBuilder? builder,
  6. Color? color,
  7. Color? highlightColor,
  8. bool disabled = false,
})

Implementation

const AutoScrollTag({
  required Key key,
  required this.controller,
  required this.index,
  this.child,
  this.builder,
  this.color,
  this.highlightColor,
  this.disabled = false,
})  : assert(child != null || builder != null),
      super(key: key);