Utils topic

Utils

Classes

DataService Utils
The DataService class is a service that provides data to the app.

Functions

determinePosition(dynamic context) → Future<Position> Utils
Determine the current position of the device.
getClosestCity(BuildContext context) → Future<String> Utils
The getClosestCity function returns the closest city to the user's current location.
isTablet(BuildContext context) → bool Utils
The isTablet function returns true if the current viewport width is greater than or equal to 1024.
toRad(double deg) → double Utils
The toRad function converts degrees to radians.