NUITextStyle constructor

NUITextStyle({
  1. required String color,
  2. double size = 14,
  3. String? font,
  4. bool bold = false,
  5. bool underline = false,
  6. bool italic = false,
})

Implementation

NUITextStyle({
  required String color,
  double size = 14,
  String? font,
  bool bold = false,
  bool underline = false,
  bool italic = false}){
  _color = color;
  _size = size;
  _font = font;
  _bold = bold;
  _underline = underline;
  _italic = italic;
}