trWithOption method

String trWithOption({
  1. String? name,
  2. String? defaultValue,
  3. String replace(
    1. String
    )?,
  4. bool applyNumber = false,
  5. bool applyRtl = false,
})

Implementation

String trWithOption({
  String? name,
  String? defaultValue,
  String Function(String)? replace,
  bool applyNumber = false,
  bool applyRtl = false,
}) {
  return Translation.localize(
    toString(),
    name: name,
    defaultValue: defaultValue,
    replace: replace,
    applyNumber: applyNumber,
    applyRtl: applyRtl,
  );
}