TextStyle constructor

const TextStyle({
  1. LogicalPixel fontSize = const LogicalPixel(8),
  2. Color color = const Color(),
  3. LogicalPixel strokeWidth = const LogicalPixel(0.3499999940395355),
  4. Color strokeColor = const Color(4294967295),
  5. TextPlacement textPlacement = TextPlacement.bottomCenter,
  6. LogicalPixel textOffset = const LogicalPixel(0),
  7. String? fontName = null,
})

Implementation

const TextStyle({
  this.fontSize = const LogicalPixel(8),
  this.color = const Color(),
  this.strokeWidth = const LogicalPixel(0.3499999940395355),
  this.strokeColor = const Color(4294967295),
  this.textPlacement = TextPlacement.bottomCenter,
  this.textOffset = const LogicalPixel(0),
  this.fontName = null
});