utils/app_utils library

Functions

exportDataFromAPI({required List<int> bytes, required String fileName}) Future<void>
exportDataGridToExcel(GlobalKey<SfDataGridState> key, String reportName, List<Map<String, dynamic>> jsonData) Future<void>
exportDataGridToExcelByKey(GlobalKey<SfDataGridState> key, String reportName, {List<String>? excludeNames}) → void
exportDataGridToPdf(GlobalKey<SfDataGridState> key, String reportName, List<Map<String, dynamic>> jsonData) Future<void>
formatETA(double seconds) String
formatSpeed(double kbps) String
isWebScreen(BuildContext context) bool