util/utils library
Functions
-
cGetDeviceId(
) → Future< String> - Retrieves the device ID for various platforms, including iOS, Android, Windows, Linux, Web, and macOS.
-
cLog(
String body, {String n = 'repad.dev'}) → void - Logs data in green color in Visual Studio Code (VS Code) console.
-
cTakePicture(
GlobalKey< State< key) → Future<StatefulWidget> >Uint8List> - Takes a screenshot of a widget using a GlobalKey and returns it as a Uint8List (PNG image).