commoncode library

Functions

appBarWidget(String title, {List<Widget>? actions, double ele = 10, bool center = true, Color? color}) AppBar
checkAnyFile({required String fileName, required String path}) bool
convertMillisecondsToTime(int milliseconds) String
dateFormat(DateTime date) String
generateId({int length = 6}) String
isNumeric(String s) bool
isYouTubeUrl(String url) bool
matchLiveInTitle(String title) bool
matchUrls(String url) bool
popUpItem(int value, IconData iconData, String title, {Color? c}) PopupMenuItem
removeSpaces(String value) String
showToast2(BuildContext context, String msg) → void
stringToInt(String value) int