magnific_core 0.3.0
SDKflutter
Platformandroidioswindowslinuxmacosweb
Common set of core utilities that a flutter app might need for bootstrap, validation, string utility, system orientation/fullscreen mode changes, etc.
Magnific core
Common set of core utilities that a flutter app might need for validation, string utility, system orientation/fullscreen mode changes, etc.
Features
Images
- A simple
cachedImageProviderFactorythat returns aCachedNetworkImageProviderof thepackage:cached_network_imagein release mode on non-webs. Returns a regularNetworkImagewhile debugging or when target is web. (This can be disabled by settingdoNotCacheInDebugtofalse).
Strings
- StringX: A simple but powerful string utility with various different functionalities like checking a string is blank.
- JWTDecoder: A class to read JWT token's values, it's expiry, payload.
- StringValidate: A class that can be used for validation in TextFormFields. Multiple validators can be used together like this:
validate: (it) => StringValidate.isEmpty(it) ?? StringValidate.mobilenumber(it). encodeQueryParametersto Encode a map as html query parameters.