ExtensionT<T> extension

on
  • T

Properties

isNotNull bool

Available on T, provided by the ExtensionT extension

Check if the T is not null
no setter
isNull bool

Available on T, provided by the ExtensionT extension

Check if the T is null
no setter
notifier ValueNotifier<T>

Available on T, provided by the ExtensionT extension

转为 ValueNotifier
no setter
toList List<T>

Available on T, provided by the ExtensionT extension

no setter

Methods

also(void operation(T it)) → T

Available on T, provided by the ExtensionT extension

做了某个操作后还返回本身啊
let<E>(E operation(T it)) → E?

Available on T, provided by the ExtensionT extension

判空后执行方法 返回新的参数
log({bool? crossLine}) → void

Available on T, provided by the ExtensionT extension

showToast({ToastStyle? style, IconData? icon, ToastOptions? options}) Future<ExtendedOverlayEntry?>

Available on T, provided by the ExtensionT extension

toast 显示