Sonar constructor
Sonar({})
Implementation
Sonar({
this.radius = 24.0,
required this.child,
this.waveThickness = 0.5,
this.waveColor = Colors.blue,
this.duration = const Duration(seconds: 1),
this.insets = 0.0,
this.wavesDisabled = false,
}) {
assert(radius > 0, 'radius must be greater than 0');
assert(insets >= 0, 'insets must be greater than or equal to 0');
assert(
waveThickness >= 0.0,
'waveThickness must be greater than or equal to 0.0',
);
}