TextButtonTool<T>.statusbar constructor

TextButtonTool<T>.statusbar({
  1. Key? key,
  2. ToolVisibility visibility = ToolVisibility.showOnCompact,
  3. ValueNotifier<T>? toolValue,
  4. Widget? icon(
    1. T? param
    ) = _null<Widget>,
  5. IconData? iconData(
    1. T? param
    ) = _null<IconData>,
  6. String? text(
    1. T? param
    ) = _null<String>,
  7. bool enabled(
    1. T? param
    ) = _enabled,
  8. String? tooltip(
    1. T? param
    ) = _null<String>,
  9. dynamic onPressed(
    1. T? param
    )?,
  10. List<String>? options(
    1. T? param
    ) = _null<List<String>>,
  11. OnOption? onOption,
  12. TextStyle? textStyle,
  13. bool textShadow = false,
  14. bool alignDropdownToText = true,
  15. double iconSize = StatusViewBar.defaultIconSize,
  16. Color? iconColor,
  17. double fontSize = StatusViewBar.defaultFontSize,
  18. Color? fontColor,
  19. Alignment alignment = Alignment.center,
  20. double? width,
  21. double? height = StatusViewBar.defaultHeight,
  22. String? buttonSemanticsLabel,
  23. String? optionsSemanticsLabel,
  24. VoidCallback? onInit,
  25. VoidCallback? onDispose,
})

Implementation

factory TextButtonTool.statusbar({
  Key? key,
  ToolVisibility visibility = ToolVisibility.showOnCompact,
  ValueNotifier<T>? toolValue,
  Widget? Function(T? param) icon = _null<Widget>,
  IconData? Function(T? param) iconData = _null<IconData>,
  String? Function(T? param) text = _null<String>,
  bool Function(T? param) enabled = _enabled,
  String? Function(T? param) tooltip = _null<String>,
  Function(T? param)? onPressed,
  List<String>? Function(T? param) options = _null<List<String>>,
  OnOption? onOption,
  TextStyle? textStyle,
  bool textShadow = false,
  bool alignDropdownToText = true,
  double iconSize = StatusViewBar.defaultIconSize,
  Color? iconColor,
  double fontSize = StatusViewBar.defaultFontSize,
  Color? fontColor,
  Alignment alignment = Alignment.center,
  double? width,
  double? height = StatusViewBar.defaultHeight,
  String? buttonSemanticsLabel,
  String? optionsSemanticsLabel,
  VoidCallback? onInit,
  VoidCallback? onDispose,
}) =>
    TextButtonTool(
      key: key,
      visibility: visibility,
      toolValue: toolValue,
      icon: icon,
      iconData: iconData,
      text: text,
      enabled: enabled,
      tooltip: tooltip,
      onPressed: onPressed,
      options: options,
      onOption: onOption,
      textStyle: textStyle,
      textShadow: textShadow,
      insetToolContainer: false,
      addPaddingForOptionsDropdown: false,
      alignDropdownToText: alignDropdownToText,
      iconSize: iconSize,
      iconColor: iconColor,
      animateDown: false,
      fontSize: fontSize,
      fontColor: fontColor,
      alignment: alignment,
      width: width,
      height: height,
      buttonSemanticsLabel: buttonSemanticsLabel,
      optionsSemanticsLabel: optionsSemanticsLabel,
      onInit: onInit,
      onDispose: onDispose,
    );