NsgText constructor
const
NsgText(
- String text, {
- Key? key,
- EdgeInsets margin = EdgeInsets.zero,
- EdgeInsets padding = const EdgeInsets.all(2),
- TextOverflow? overflow,
- int? maxLines,
- Color? color,
- Color? backColor,
- NsgTextType? type,
- NsgTextStyle? style,
- TextAlign? textAlign,
Implementation
const NsgText(this.text,
{Key? key,
this.margin = EdgeInsets.zero,
this.padding = const EdgeInsets.all(2),
this.overflow,
this.maxLines,
this.color,
this.backColor,
this.type,
this.style,
this.textAlign})
: super(key: key);