HighlightWrapper constructor

const HighlightWrapper({
  1. Key? key,
  2. required Widget child,
  3. required HighlightType type,
  4. Color color = Colors.blue,
  5. double intensity = 2.0,
  6. Duration duration = const Duration(milliseconds: 1500),
  7. bool repeat = true,
  8. EdgeInsets padding = const EdgeInsets.all(16.0),
})

Implementation

const HighlightWrapper({
  super.key,
  required this.child,
  required this.type,
  this.color = Colors.blue,
  this.intensity = 2.0,
  this.duration = const Duration(milliseconds: 1500),
  this.repeat = true,
  this.padding = const EdgeInsets.all(16.0),
});