JSeenTheme constructor

const JSeenTheme({
  1. TextStyle keyStyle = const TextStyle(color: Colors.cyan),
  2. TextStyle doubleStyle = const TextStyle(color: Colors.pinkAccent),
  3. TextStyle intStyle = const TextStyle(color: Colors.lightGreen),
  4. TextStyle boolStyle = const TextStyle(color: Colors.green),
  5. TextStyle stringStyle = const TextStyle(color: Colors.amber),
  6. TextStyle nullStyle = const TextStyle(color: Colors.redAccent),
  7. Widget closeIcon = const Icon(Icons.chevron_right, size: kIconSize),
  8. Widget openIcon = const RotatedBox(quarterTurns: 1, child: Icon(Icons.chevron_right, size: kIconSize)),
})

Implementation

const JSeenTheme({
  this.keyStyle = const TextStyle(color: Colors.cyan),
  this.doubleStyle = const TextStyle(color: Colors.pinkAccent),
  this.intStyle = const TextStyle(color: Colors.lightGreen),
  this.boolStyle = const TextStyle(color: Colors.green),
  this.stringStyle = const TextStyle(color: Colors.amber),
  this.nullStyle = const TextStyle(color: Colors.redAccent),
  this.closeIcon = const Icon(Icons.chevron_right, size: kIconSize),
  this.openIcon = const RotatedBox(
    quarterTurns: 1,
    child: Icon(Icons.chevron_right, size: kIconSize),
  ),
});