ComponentMentionStrings class

Chữ tự đặt của @mention theo locale — vi/en mặc định y hệt widget sharemap-agent-chat (mentionRouteDay, mentionRouteAtoB, mentionDay, mentionPlanSub, mentionKm). App dùng hệ i18n riêng thì dựng bản khác.

Annotations

Constructors

ComponentMentionStrings({required String routeDay(int day), required String routeAtoB(String first, String last), required String day(int day), required String planSub(int day), required String km(num n)})
const

Properties

day → String Function(int day)
«Ngày 2» — dòng phụ marker / route, tên dự phòng của ngày trong kế hoạch.
final
hashCode → int
The hash code for this object.
no setterinherited
km → String Function(num n)
Quãng đường («12 km»).
final
planSub → String Function(int day)
Dòng phụ của trip-plan («Kế hoạch · 3 ngày»).
final
routeAtoB → String Function(String first, String last)
Tên tự đặt «A → B» cho route không tên.
final
routeDay → String Function(int day)
Tên tự đặt cho route tourist-route có ngày («Lộ trình ngày 2»).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

of(String locale) → ComponentMentionStrings
en… → en, còn lại → vi (như uiLocale của engine).

Constants

en → const ComponentMentionStrings
vi → const ComponentMentionStrings