ns_utils library Null safety

Classes

AndroidBuildVersion
Version values of the current Android operating system build derived from android.os.Build.VERSION.
AndroidDeviceInfo
Information derived from android.os.Build.
BaseDeviceInfo
The base class for platform's device info.
C0
C1
C10
C100
C15
C150
C2
C20
C3
C30
C4
C40
C5
C50
C6
C8
CachedNetworkImage
Image widget to show NetworkImage with caching functionality.
CachedNetworkImageProvider
IO implementation of the CachedNetworkImageProvider; the ImageProvider to load network images using a cache.
DeviceInfoPlugin
Provides device and operating system information.
DottedScaleXWidget
DownloadProgress
Progress of the file that is being downloaded from the originalUrl.
FocusDetector
Fires callbacks every time the widget appears or disappears from the screen.
IosDeviceInfo
Information derived from UIDevice.
IosUtsname
Information derived from utsname. See http://pubs.opengroup.org/onlinepubs/7908799/xsh/sysutsname.h.html for details.
LinuxDeviceInfo
Device information for a Linux system.
MacOsDeviceInfo
Object encapsulating MACOS device information.
MultiImageStreamCompleter
An ImageStreamCompleter with support for loading multiple images.
NSUtils
P1
P10
P2
P20
P30
P40
P5
P8
PackageInfo
Application metadata. Provides application bundle information on iOS and application package information on Android.
PH10
RebuildFactors
ReCase
An instance of text to be re-cased.
REdgeInsets
REdgeInsetsDirectional
RingPainter
RPadding
RSizedBox
ScaleYWidget
ScreenUtil
ScreenUtilInit
Sizes
Adapting screen and font size. Let your UI display a reasonable layout on different screen sizes!
SliverVisibilityDetector
SpinKitChasingDots
SpinKitCircle
SpinKitCubeGrid
SpinKitDancingSquare
SpinKitDoubleBounce
SpinKitDualRing
SpinKitFadingCircle
SpinKitFadingCube
SpinKitFadingFour
SpinKitFadingGrid
SpinKitFoldingCube
SpinKitHourGlass
SpinKitPianoWave
SpinKitPouringHourGlass
SpinKitPouringHourGlassRefined
SpinKitPulse
SpinKitPumpCurve
SpinKitPumpingHeart
SpinKitRing
SpinKitRingCurve
SpinKitRipple
SpinKitRotatingCircle
SpinKitRotatingPlain
SpinKitSpinningCircle
SpinKitSpinningLines
SpinKitSquareCircle
SpinKitThreeBounce
SpinKitThreeInOut
SpinKitWanderingCubes
SpinKitWave
SpinningLinesPainter
SPService
StackX<T>
StackX is Stack like DS
VisibilityDetector
A VisibilityDetector widget fires a specified callback when the widget changes visibility.
VisibilityDetectorController
A VisibilityDetectorController is a singleton object that can perform actions and change configuration for all VisibilityDetector widgets.
VisibilityInfo
Data passed to the VisibilityDetector.onVisibilityChanged callback.
WebBrowserInfo
Information derived from navigator.
WindowsDeviceInfo
Object encapsulating WINDOWS device information.

Mixins

AfterLayoutMixin<T extends StatefulWidget>

Extensions

BorderRaduisExtension
BoxConstraintsExtension
ContextExtensions
DateExtensions
DoubleExtensions
DurationExtensions
EdgeInsetsExtension
FunctionExtensions
FunctionExtensions Useful extensions for Function class.
GestureDetectorExtensions
IntExtensions
ListExtensions
extension methods for List
MapExtensions
extension methods for Map
RaduisExtension
SizeExtension
StringExtensions
StringNullExtensions
StringReCase
WidgetsExtension

Properties

appLogsNS LogCallBack
read / write
defaultScreenHeight double
read / write
defaultScreenWidth double
read / write
errorLogsNS ErrorLogCallBack
read / write
screenHeight double
read / write
screenWidth double
read / write
timeDilation double
Slows down animations by this factor to help in development.
read-only
uniqueId String
read-only

Functions

generateDbId() String
toDouble(Object value, {double defaultValue = defaultDouble}) double
Parse to double or returns defaultValue
toEncodable(dynamic object) → dynamic
toInt(Object value, {int defaultValue = defaultInt}) int
Parse to int or returns defaultValue

Enums

BrowserName
List of supported browsers
CacheManagerLogLevel
Log levels of the cache manager. Debug shows failed downloads and verbose also shows successful downloads and cache retrievals.
SpinKitPianoWaveType
SpinKitWaveType

Typedefs

ErrorListener = void Function()
Function which is called after loading the image failed.
ErrorLogCallBack = void Function(Object object, [dynamic error, StackTrace stackTrace])
ImageWidgetBuilder = Widget Function(BuildContext context, ImageProvider<Object> imageProvider)
Builder function to create an image widget. The function is called after the ImageProvider completes the image loading.
LoadingErrorWidgetBuilder = Widget Function(BuildContext context, String url, dynamic error)
Builder function to create an error widget. This builder is called when the image failed loading, for example due to a 404 NotFound exception.
LogCallBack = void Function(Object object, [Object detail])
PlaceholderWidgetBuilder = Widget Function(BuildContext context, String url)
Builder function to create a placeholder widget. The function is called once while the ImageProvider is loading the image.
ProgressIndicatorBuilder = Widget Function(BuildContext context, String url, DownloadProgress progress)
Builder function to create a progress indicator widget. The function is called every time a chuck of the image is downloaded from the web, but at least once during image loading.
RebuildFactor = bool Function(MediaQueryData old, MediaQueryData data)
ScreenUtilInitBuilder = Widget Function(BuildContext context, Widget? child)
VisibilityChangedCallback = void Function(VisibilityInfo info)