menu
flight_booking_app package
documentation
shopping_agent_service.dart
PriceRange
formatPrice method
formatPrice method
dark_mode
light_mode
formatPrice
method
String
formatPrice
(
double
price
)
格式化单个价格显示
Implementation
String formatPrice(double price) { return '$symbol${price.toStringAsFixed(2)}'; }
flight_booking_app package
documentation
shopping_agent_service
PriceRange
formatPrice method
PriceRange class