StatusView constructor

StatusView({
  1. int numberOfStatus = 10,
  2. int indexOfSeenStatus = 0,
  3. double spacing = 10.0,
  4. double radius = 50,
  5. double padding = 5,
  6. required String centerImageUrl,
  7. double strokeWidth = 4,
  8. Color seenColor = Colors.grey,
  9. Color unSeenColor = Colors.blue,
})

Implementation

StatusView(
    {this.numberOfStatus = 10,
    this.indexOfSeenStatus = 0,
    this.spacing = 10.0,
    this.radius = 50,
    this.padding = 5,
    required this.centerImageUrl,
    this.strokeWidth = 4,
    this.seenColor = Colors.grey,
    this.unSeenColor = Colors.blue})
    : assert(centerImageUrl != null, "Please provide centerImageUrl");