flutter_util_code 0.6.0 copy "flutter_util_code: ^0.6.0" to clipboard
flutter_util_code: ^0.6.0 copied to clipboard

PlatformAndroid

A Flutter utility class collection library that includes some commonly used functions and encapsulated system API calls to improve development efficiency.

flutter_util_code #

Pub

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

Support Environment #

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

APIs #

isOpenLog 
println   
logger 		
putString 		
putInt				
putBool				
putDouble			
putStringList	
getString			
getInt				
getDouble			
getBool				
getStringList	
init			 
showCenter 
show			 
showToast	 
getUuid		
getUuidV1	
getUuidV4	
getUuidV5	
getDeviceId			 
getModel				 
getSystemVersion 
getSystemName		 
getBrand				 
getAppName		 	  
getPackageName 	  
getVersionName    
getVersionNumber  
getBuildSignature 
getInstallerStore 
getAppCachePath       			 
getAppSupportPath     			 
getAppDocPath         			 
getDownloadPath       		 	 
getAndroidStoragePath        
getAndroidExternalCachePaths 
getAppExternalStoragePaths   
getAndroidPicturePaths 			 
getAndroidMoviePaths 				 
getAndroidMusicPaths 				 
getAndroidDCIMPaths     		 
getAndroidDownloadPaths 		 
getAndroidDocumentPaths 		 
md5Encrypt 					
rc4Encrypt 					
rc4Decrypt 					
aesEncrypt 					
aesDecrypt 					
rsaEncrypt 					
rsaDecrypt 					
sha256withRSASign 	
sha256withRSAVerify 
md5withRSASign 			
md5withRSAVerify 		
launchInBrowser 		
launchInNonBrowser  
launchInApp 				
onCloseInAppWebView 
onCall 							
sendSMS 						
sendEmail 					
openFile 						
onCanLaunchUrl 			
String
toNonNull 			 
isNullOrEmpty 	 
isNotNullOrEmpty 
toNonNullString  
int
toNonNull 	 
isNull 			 
isNotNull 	 
toNonNullInt 
double
toNonNull 			
isNull 				 	
isNotNull       
toNonNullDouble 
bool
toNonNull			
isNull 				
isNotNull 		
toNonNullBool 
List
toNonNull 			 
isNullOrEmpty 	 
isNotNullOrEmpty 
toNonNullList 	 
shareText 	
shareImage  
shareImages 
shareFile 	
shareFiles 	
getInstance 			
checkConnectivity 
listen 						
off 							
dispose 					
getPermissionStatus 
requestPermission  	
requestPermissions 	
formatMoney
formatPoint
formatPointMax
formatInt
formatPercent
formatPermillage

Utils(Continue to update later...) #

8
likes
120
pub points
70%
popularity

Publisher

unverified uploader

A Flutter utility class collection library that includes some commonly used functions and encapsulated system API calls to improve development efficiency.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

android_id, connectivity_plus, crypto, device_info_plus, encrypt, fast_rsa, flutter, fluttertoast, intl, package_info_plus, path_provider, permission_handler, pointycastle, share_plus, shared_preferences, url_launcher, uuid

More

Packages that depend on flutter_util_code