Welcome to FLUFF, the package that provides convenience functions to develop your Flutter app, based on packages from pub.dev. FLUFF means Flutter Leveraging User Functions from Friends.
isLargeScreen: if the Adaptative Scaffold Breakpoint "large" is reachedshareFile(String path): share a file withshare_plusshareFiles(List<String> path): share files withshare_plus
ymdyMMMMd({bool includeYear = true}): e.g 2005 January 5, January 5yMMMd({bool includeYear = true}): e.g 2005 Jan 5, Jan 5monthCamelCaseLong: e.g JanuarymonthCamelCaseShort: e.g JanymdInthmshmsInt
logInfo(String message)logSevere(String message)logShout(String message)logWarning(String message)logFine(String message)logFiner(String message)logFinest(String message)logConfig(String message)
typewriter(...): converts aStringinto an animated typewriter widget
withTimeOfDay(TimeOfDay): return this with values of givenTimeOfDay
launch: launch this [Uri]
play(String assetPath)loadAssets(List<String> paths): load assets to player cachesdispose(): dispose all playerssetLowLatencyMode(bool lowLatency): optimize for short files or not
hasConnectivity()
fetchUrl(String): fetch given URL and return response body
cacheDirPath: application's cache directory pathextDirPath: application's top-level storage directory path
id: Android/iOS device IDname: Android/iOS device nameappInfo: Application info (version, package name, build number)isVersionSatisfied(int major, int minor, int patch): check if app version is >= major.minor.patch
init(List<String> assets)play(String assetName, {double volume = 0.6})dispose()stop(int handleId)stopAll()pause(int handleId)resume(int handleId)
setDefaultLocalTimeZone(): set timezone location to local timezone's locationnow : TZDateTime: returns current date & time according to current timezone
mute()unmute()setAverageVolume(): restore volume to median valuevolume: get current volume level