custom abstract method

PerformanceIndicatorWidget custom({
  1. required double width,
  2. required List<DialogOptionDetails> dialogOptions,
  3. int? badResponseTimeInMs,
  4. Uri? checkUrl,
  5. String? title,
})

Returns performance indicator widget with custom dialog options.

The indicator is a pulsing button that changes its color based on quality/speed calculation.

If dialog options parameter is provided you can set custom dialog options for shown dialog. If checkUrl parameter is provided the custom url will be taken for check. If badResponseTime parameter is provided the speed quality will be calculated by custom time. If title parameter is provided the custom title will be displayed on dialog box.

Implementation

PerformanceIndicatorWidget custom({
  required double width,
  required List<DialogOptionDetails> dialogOptions,
  int? badResponseTimeInMs,
  Uri? checkUrl,
  String? title,
});