Measurement System

Most countries use the metric system for measurements (e.g., kilometers, Celsius), while others, like the USA, use the imperial system (e.g., miles, feet, Fahrenheit). Ridy supports both systems in its client-side apps. To change the default system from metric to imperial, navigate to <app>->lib->config->env.dart and update the defaultMetricSystem value.

constants.dart
...
  static const List<double> walletPresets = [10, 20, 50];
  static const MapProviderEnum defaultMapProvider = MapProviderEnum.mapBox;
  static const MeasurementSystem defaultMeasurementSystem = MeasurementSystem.imperial;
}

Last updated