TextTr.bodySmall constructor

TextTr.bodySmall(
  1. String data, {
  2. Key? key,
  3. TextAlign? textAlign,
  4. Map<String, String>? arguments,
})

Creates a TextTr with bodySmall text style.

Implementation

TextTr.bodySmall(String data, {super.key, super.textAlign, this.arguments})
  : super(
      data.tr(arguments: arguments),
      style:
          NyThemeManager.instance.currentTheme?.themeData.textTheme.bodySmall,
    );