NxText class
Constructors
-
NxText(String text, {Key? key, Color? color = Colors.black87, double? fontSize = 14, double? lineHeight = 1, int? maxLines, TextAlign? textAlign = TextAlign.left, FontWeight? fontWeight = FontWeight.normal, Function? onPressed, NxColor? defaultColor, TextDecoration? decoration = TextDecoration.none, TextOverflow? overflow, FontStyle? fontStyle})
-
const
-
NxText.body1(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory
-
NxText.body2(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory
-
NxText.error(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, double? lineHeight, Function? onPressed})
-
factory
-
NxText.headline1(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory
-
NxText.headline2(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory
-
NxText.headline3(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory
-
NxText.headline4(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory
-
NxText.headline5(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory
-
NxText.headline6(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory
-
NxText.heroTitle(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory
-
NxText.lead1(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory
-
NxText.lead2(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory
-
NxText.primary(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, double? lineHeight, Function? onPressed})
-
factory
-
NxText.small1(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory
-
NxText.small2(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory
-
NxText.subtitle(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory
-
NxText.title(String text, {int? maxLines, TextOverflow? overflow, TextAlign? textAlign, Color? color, double? lineHeight, Function? onPressed})
-
factory