StatusTextTool<T extends Equatable> constructor

const StatusTextTool<T extends Equatable>({
  1. Key? key,
  2. ToolVisibility visibility = ToolVisibility.showOnCompact,
  3. ValueNotifier<T>? toolValue,
  4. String? text(
    1. T? param
    ) = _null<String>,
  5. String? tooltip(
    1. T? param
    ) = _null<String>,
  6. TextStyle? style,
  7. bool embossed = false,
  8. Alignment alignment = Alignment.center,
  9. double width = 0,
  10. double height = 32,
  11. 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;