TokenStyle constructor

const TokenStyle({
  1. required int foreground,
  2. int? background,
  3. int fontStyle = TokenFontStyle.none,
})

A style with a foreground color and optional background and fontStyle.

Implementation

const TokenStyle({
  required this.foreground,
  this.background,
  this.fontStyle = TokenFontStyle.none,
});