flutter_util_code

Creator: coderz1093

Last updated:

Add to Cart

Description:

flutter util code

flutter_util_code #

A Flutter utility class collection library that includes some commonly used functions and encapsulated system API calls to improve development efficiency.
Language: English | 简体中文
NativeBridge dependency #
Add dependencies in pubspec.yaml:
dependencies:
flutter_util_code: ^latest_version
copied to clipboard
Support Environment #

sdk: ">=2.18.0 <4.0.0"
flutter: ">=3.3.0"

APIs #

About Log -> LogUtils -> Demo

isOpenLog
println
logger
copied to clipboard

About SharedPreference -> SharedPresUtils -> Demo

putString
putInt
putBool
putDouble
putStringList
getString
getInt
getDouble
getBool
getStringList
copied to clipboard

About Toast -> ToastUtils -> Demo

init
showCenter
show
showToast
copied to clipboard

About UUID -> UuidUtils -> Demo

getUuid
getUuidV1
getUuidV4
getUuidV5
copied to clipboard

About Device -> DeviceUtils -> Demo

getDeviceId
getModel
getSystemVersion
getSystemName
getBrand
copied to clipboard

About App -> AppUtils -> Demo

getAppName
getPackageName
getVersionName
getVersionNumber
getBuildSignature
getInstallerStore
copied to clipboard

About File Path -> PathUtils -> Demo

getAppCachePath
getAppSupportPath
getAppDocPath
getDownloadPath
getAndroidStoragePath
getAndroidExternalCachePaths
getAppExternalStoragePaths
getAndroidPicturePaths
getAndroidMoviePaths
getAndroidMusicPaths
getAndroidDCIMPaths
getAndroidDownloadPaths
getAndroidDocumentPaths
copied to clipboard

About Encrypt -> EncryptUtils -> Test

md5Encrypt
rc4Encrypt
rc4Decrypt
aesEncrypt
aesDecrypt
rsaEncrypt
rsaDecrypt
sha256withRSASign
sha256withRSAVerify
md5withRSASign
md5withRSAVerify
copied to clipboard

About URL Launcher -> UrlLauncherUtils -> Demo

launchInBrowser
launchInNonBrowser
launchInApp
onCloseInAppWebView
onCall
sendSMS
sendEmail
openFile
onCanLaunchUrl
copied to clipboard

About Null Safe -> NullSafetyUtils -> Test

String
toNonNull
isNullOrEmpty
isNotNullOrEmpty
toNonNullString
copied to clipboard
int
toNonNull
isNull
isNotNull
toNonNullInt
copied to clipboard
double
toNonNull
isNull
isNotNull
toNonNullDouble
copied to clipboard
bool
toNonNull
isNull
isNotNull
toNonNullBool
copied to clipboard
List
toNonNull
isNullOrEmpty
isNotNullOrEmpty
toNonNullList
copied to clipboard

About Share -> ShareUtils -> Demo

shareText
shareImage
shareImages
shareFile
shareFiles
copied to clipboard

About Network -> NetworkUtils -> Demo

getInstance
checkConnectivity
listen
off
dispose
copied to clipboard

About Permission -> PermissionUtils -> Demo

getPermissionStatus
requestPermission
requestPermissions
copied to clipboard

About Format -> FormatUtils -> Test

formatMoney
formatPoint
formatPointMax
formatInt
formatPercent
formatPermillage
copied to clipboard
Utils(Continue to update later...) #

✅ LogUtils : Logging utility class
✅ SharedPresUtils : SharedPreferences utility class
✅ ToastUtils : Toast utility class
✅ UuidUtils : UUID utility class
✅ DeviceUtils : Device utility class
✅ AppUtils : App utility class
✅ PathUtils : Path utility class
✅ EncryptUtils : Encryption utility class
✅ UrlLauncherUtils : URL jump utility class
✅ NullSafetyUtils : Null safety utility class
✅ ShareUtils : Share utility class
✅ ConnectivityUtils : Network monitoring utility class
✅ PermissionUtils : Permission utility class
✅ FormatUtils : Num format utility class
✅ DateUtils : Date format utility class
❌ LocationUtils:Location utility class

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.