StatusTextTool<T extends Equatable> constructor
const
StatusTextTool<T extends Equatable> ({
- Key? key,
- ToolVisibility visibility = ToolVisibility.showOnCompact,
- ValueNotifier<
T> ? toolValue, - String? text(
- T? param
- String? tooltip(
- T? param
- TextStyle? style,
- bool embossed = false,
- Alignment alignment = Alignment.center,
- double width = 0,
- double height = 32,
- EdgeInsets padding = const EdgeInsets.fromLTRB(8, 2, 8, 2),
Implementation
const StatusTextTool({
super.key,
super.visibility = ToolVisibility.showOnCompact,
super.toolValue,
super.text,
super.tooltip,
this.style,
this.embossed = false,
Alignment alignment = Alignment.center,
double width = 0,
double height = 32,
this.padding = const EdgeInsets.fromLTRB(8, 2, 8, 2),
}) : _alignment = alignment,
_width = width,
_height = height;