From cb0640205904e2fae99b39eecae167091d11b067 Mon Sep 17 00:00:00 2001 From: Ellet Date: Tue, 14 Nov 2023 03:21:42 +0300 Subject: [PATCH] Update UtilityWidgets --- lib/src/utils/widgets.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/utils/widgets.dart b/lib/src/utils/widgets.dart index f7126616..0ac7c9ac 100644 --- a/lib/src/utils/widgets.dart +++ b/lib/src/utils/widgets.dart @@ -3,7 +3,9 @@ import 'package:flutter/material.dart'; typedef WidgetWrapper = Widget Function(Widget child); /// Provides utiulity widgets. -abstract class UtilityWidgets { +class UtilityWidgets { + const UtilityWidgets._(); + /// Conditionally wraps the [child] with [Tooltip] widget if [message] /// is not null and not empty. static Widget maybeTooltip({