altComponentHelpText method

Widget altComponentHelpText({
  1. required dynamic component,
})

Implementation

Widget altComponentHelpText({required var component}) {
  return component["helpText"] != ""
      ? Tooltip(
          message: component["helpText"],
          child: const Icon(
            Icons.info_outline,
            size: 15,
            color: Palette.helpTextHoverColor,
          ),
          //hoverColor: Palette.helpTextHoverColor,
        )
      : const SizedBox();
}