PingViewWidget constructor

PingViewWidget({
  1. Key? key,
  2. required TextSpan locationInformatinText,
  3. required TextSpan ispInformationText,
  4. required TextSpan techInformationText,
  5. Color startColor = const Color(0xFF0e74b3),
  6. Color endColor = const Color(0xFF3ebdb8),
  7. PingDirection pingDirection = PingDirection.LEFT_TO_RIGHT,
  8. bool running = false,
})

Implementation

PingViewWidget({
  Key? key,
  required this.locationInformatinText,
  required this.ispInformationText,
  required this.techInformationText,
  this.startColor = const Color(0xFF0e74b3),
  this.endColor = const Color(0xFF3ebdb8),
  this.pingDirection = PingDirection.LEFT_TO_RIGHT,
  this.running = false,
}) : super(key: key);