TextStyle constructor

const TextStyle({
  1. double size = 8.0,
  2. Color color = const ui.Color(0xFF000000),
  3. double outlineWidth = 1.0,
  4. Color outlineColor = const ui.Color(0xFFFFFFFF),
  5. TextStylePlacement placement = TextStylePlacement.Center,
  6. double offset = 0.0,
  7. bool offsetFromIcon = true,
  8. bool textOptional = false,
})

Implementation

const TextStyle({
  this.size = 8.0,
  this.color = const ui.Color(0xFF000000),
  this.outlineWidth = 1.0,
  this.outlineColor = const ui.Color(0xFFFFFFFF),
  this.placement = TextStylePlacement.Center,
  this.offset = 0.0,
  this.offsetFromIcon = true,
  this.textOptional = false,
});