Measurement System

While most of countries use metric system for their measurables (km, celisus and etc), some countries like USA use imperial system for their measurements (miles, feet, Fahrenheit and etc.). Ridy out of the box supports both of this systems on it's client side apps. You can switch between them by heading to libs->flutter_common->lib->config->constants.dart and updating the defaultMetricSystem value. For example the below change would cause the imperial system being used instead of metric.

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

Last updated