TankGaugeRenderBox constructor
TankGaugeRenderBox({
- required GaugeController controller,
- required GaugeTokens tokens,
- required double min,
- required double max,
- required bool vertical,
- bool showWave = false,
- String? semanticsLabel,
Implementation
TankGaugeRenderBox({
required GaugeController controller,
required GaugeTokens tokens,
required double min,
required double max,
required bool vertical,
bool showWave = false,
String? semanticsLabel,
}) : _controller = controller,
_tokens = tokens,
_min = min,
_max = max,
_vertical = vertical,
_semanticsLabel = semanticsLabel {
_controller.addListener(_onValueChanged);
}