UTextDisplayLarge constructor
const
UTextDisplayLarge(
- String text, {
- Key? key,
- Color? color,
- FontWeight? fontWeight,
- FontStyle? fontStyle,
- String? fontFamily,
- double? letterSpacing,
- double? wordSpacing,
- double? height,
- TextDecoration? decoration,
- Color? decorationColor,
- TextDecorationStyle? decorationStyle,
- double? decorationThickness,
- TextBaseline? textBaseline,
- TextAlign? textAlign,
- TextOverflow? overflow,
- int? maxLines,
- bool? softWrap,
- StrutStyle? strutStyle,
- TextScaler? textScaler,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- String? semanticsLabel,
- List<
Shadow> ? shadows, - List<
FontFeature> ? fontFeatures, - List<
FontVariation> ? fontVariations, - Paint? foreground,
- Paint? background,
- Color? selectionColor,
- TextDirection? textDirection,
- TextLeadingDistribution? leadingDistribution,
- GestureTapCallback? onTap,
- VoidCallback? onPress,
- GestureLongPressCallback? onLongPress,
- GestureTapCallback? onDoubleTap,
- bool splash = false,
- Color? splashColor,
- Color? highlightColor,
- Color? hoverColor,
- double? pressedScale,
- MouseCursor? cursor,
- ValueChanged<
bool> ? onHover, - EdgeInsetsGeometry? margin,
- double? opacity,
- String? tooltip,
- String? heroTag,
- bool visible = true,
- BoxFit? fit,
- AlignmentGeometry fitAlignment = Alignment.center,
- double? scale,
- double? rotate,
- Offset? translate,
- bool center = false,
- bool safeArea = false,
- int? expanded,
- int? flexible,
- bool positioned = false,
- double? left,
- double? top,
- double? right,
- double? bottom,
- double? positionedWidth,
- double? positionedHeight,
- bool selectable = false,
Implementation
const UTextDisplayLarge(
super.text, {
super.key,
super.color,
super.fontWeight,
super.fontStyle,
super.fontFamily,
super.letterSpacing,
super.wordSpacing,
super.height,
super.decoration,
super.decorationColor,
super.decorationStyle,
super.decorationThickness,
super.textBaseline,
super.textAlign,
super.overflow,
super.maxLines,
super.softWrap,
super.strutStyle,
super.textScaler,
super.textWidthBasis,
super.textHeightBehavior,
super.semanticsLabel,
super.shadows,
super.fontFeatures,
super.fontVariations,
super.foreground,
super.background,
super.selectionColor,
super.textDirection,
super.leadingDistribution,
super.onTap,
super.onPress,
super.onLongPress,
super.onDoubleTap,
super.splash = false,
super.splashColor,
super.highlightColor,
super.hoverColor,
super.pressedScale,
super.cursor,
super.onHover,
super.margin,
super.opacity,
super.tooltip,
super.heroTag,
super.visible = true,
super.fit,
super.fitAlignment = Alignment.center,
super.scale,
super.rotate,
super.translate,
super.center = false,
super.safeArea = false,
super.expanded,
super.flexible,
super.positioned = false,
super.left,
super.top,
super.right,
super.bottom,
super.positionedWidth,
super.positionedHeight,
super.selectable = false,
});