DUIText class

Constructors

DUIText()

Properties

boldWeight FontWeight
final
h1 double
final
h2 double
final
h3 double
final
hashCode int
The hash code for this object.
no setterinherited
head1 double
final
head2 double
final
head3 double
final
regularText double
final
regularWeight FontWeight
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semiBoldWeight FontWeight
final
smallText double
final
textHeight double
final
xsText double
final
xxsText double
final

Methods

custom(BuildContext context, String? text, {int? maxLines, TextAlign? textAlign, Color? color, double? height, TextDecoration? decoration, required FontWeight fontWeight, required double fontSize, String? font}) Widget
headline1(BuildContext context, String? text, {int? maxLines, TextAlign? textAlign, Color? color}) Widget
headline2(BuildContext context, String? text, {int? maxLines, TextAlign? textAlign, Color? color}) Widget
headline3(BuildContext context, String? text, {int? maxLines, TextAlign? textAlign, Color? color}) Widget
htmlBody(dynamic text, dynamic context, {dynamic color, LineHeight? height, int? maxLines}) Widget
htmlBodySmall(dynamic text, dynamic context, {dynamic color, int? maxLines}) Widget
itemHeader(BuildContext context, String text, {Function? onTap, String? onAccessoryButtonText, bool loading = false}) Widget
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
regular(BuildContext context, String? text, {int? maxLines, TextAlign? textAlign, bool? bold = false, Color? color, double? height, String? highlightText, TextDecoration? decoration}) Widget
regularTextStyle(BuildContext context, {bool? bold = false, Color? color, double? height, TextDecoration? decoration}) TextStyle
seeAllTrailing(BuildContext context, {Function? onTap, required String onSeeAllButtonText}) Widget
small(BuildContext context, String? text, {int? maxLines, TextAlign? textAlign, Color? color, double? height, TextDecoration? decoration, bool? bold = false}) Widget
smallItemHeader(BuildContext context, String text) Widget
smallTextStyle(BuildContext context, {bool? bold = false, Color? color, double? height, TextDecoration? decoration}) TextStyle
superSmallHTMLText(dynamic text, dynamic context, {dynamic color, dynamic textAlign, int? maxLines}) Widget
title1(BuildContext context, String? text, {int? maxLines, TextAlign? textAlign, Color? color, TextDecoration? textDecoration}) Widget
title2(BuildContext context, String? text, {int? maxLines, TextAlign? textAlign, Color? color, TextDecoration? textDecoration}) Widget
title3(BuildContext context, String? text, {int? maxLines, TextAlign? textAlign, Color? color, TextDecoration? textDecoration}) Widget
toString() String
A string representation of this object.
inherited
xs(BuildContext context, String? text, {int? maxLines, TextAlign? textAlign, Color? color, double? height, bool? bold = false, TextDecoration? decoration}) Widget
xxs(BuildContext context, String? text, {int? maxLines, TextAlign? textAlign, Color? color, double? height, bool? bold = false, TextDecoration? decoration}) Widget

Operators

operator ==(Object other) bool
The equality operator.
inherited