Update UtilityWidgets

pull/1530/head
Ellet 1 year ago
parent d3dc385d52
commit cb06402059
No known key found for this signature in database
GPG Key ID: C488CC70BBCEF0D1
  1. 4
      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({

Loading…
Cancel
Save