TextStyle constructor

const TextStyle({
  1. Input<String>? backgroundColor,
  2. Input<TextStyleFontSize>? fontSize,
  3. Input<TextStyleHorizontalAlignment>? horizontalAlignment,
  4. Input<TextStylePadding>? padding,
  5. Input<TextStylePointerLocation>? pointerLocation,
  6. Input<String>? textColor,
  7. Input<TextStyleVerticalAlignment>? verticalAlignment,
})

Creates a new TextStyle. backgroundColor The background color as a hex string. "#RRGGBB" or "#RGB" fontSize Font sizes for both the title and content. The title will still be larger relative to the content. horizontalAlignment The horizontal alignment of both the title and content padding The amount of padding around the widget pointerLocation The pointer location for this widget (also sometimes called a "tail") textColor The text color as a hex string. "#RRGGBB" or "#RGB" verticalAlignment The vertical alignment of both the title and content

Implementation

const TextStyle({
  this.backgroundColor,
  this.fontSize,
  this.horizontalAlignment,
  this.padding,
  this.pointerLocation,
  this.textColor,
  this.verticalAlignment,
});