TextStyle constructor

const TextStyle({
  1. double size = 8.0,
  2. Color? color,
  3. double outlineWidth = 1.0,
  4. Color? outlineColor,
  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,
  this.outlineWidth = 1.0,
  this.outlineColor,
  this.placement = TextStylePlacement.Center,
  this.offset = 0.0,
  this.offsetFromIcon = true,
  this.textOptional = false,
});