TextTr.titleSmall constructor

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

Creates a TextTr with titleSmall text style.

Implementation

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