tools/nice_utilities library

Classes

NiceConditional
Conditionally wraps child with another widget
NiceCopyToClipboard
Widget that copies text to clipboard on tap
NiceDebounced
Debounces child rebuilds
NiceDelayed
Shows widget after a delay
NiceHoverBuilder
Builder that provides hover state
NiceIntervalExecutor
Executes callback at regular intervals
NiceKeepAlive
Keeps widget alive in lazy lists/PageViews
NiceMountedCallback
Executes callback only if widget is still mounted
NiceMultiProvider
Nests multiple providers
NiceOrientationBuilder
Builder based on device orientation
NicePlatformBuilder
Builder based on platform
NiceProvider<T>
Simple value provider using InheritedWidget
NiceScrollPositionBuilder
Builder that provides scroll position
NiceUnfocusOnTap
Unfocuses keyboard when tapping outside
NiceValueSelector<T, S>
Selects part of a ValueListenable to rebuild only when selection changes

Mixins

NiceThrottleMixin
Mixin for throttled callbacks