menu
flutter_easy package
documentation
utils/src/global_util.dart
randomInt function
randomInt function
dark_mode
light_mode
randomInt
function
int
randomInt
(
int
max
)
随机数(0-max)小于max
Implementation
int
randomInt(
int
max) => Random().nextInt(max);
flutter_easy package
documentation
utils/src/global_util
randomInt function
global_util library
Constants
appChannel
isProduction
kPathIcons
kPathOthers
Properties
isAndroid
isAppDebugFlag
isDebug
isDesktop
isIOS
isIPad
isLinux
isMacOS
isPhone
isWeb
isWebInAndroid
isWebInIos
isWebInIPad
isWebInIPhone
isWebInMobile
isWebInWeChat
isWindows
operatingSystem
operatingSystemVersion
userAgent
webOrigin
webUserAgent
Functions
appStoreUrl
appStoreUserReviewsUrl
appStoreWriteReview
assetsImagesPath
assetsImagesPathSvg
assetsImagesPathWebP
BaseExtendedWebImageProvider
canLaunch
getAppDocumentsDirectory
getAppExternalStorageDirectory
getAppLibraryDirectory
getAppSupportDirectory
getAppTemporaryDirectory
getBasename
getBasenameWithoutExtension
getClipboard
getDirname
getExtension
getJoin
hapticFeedbackHeavyImpact
hapticFeedbackLightImpact
hapticFeedbackMediumImpact
hapticFeedbackVibrate
hideKeyboard
onLaunch
randomInt
setClipboard
webDownloadBlobData
webFetchBlobData
Typedefs
BaseLaunchMode