JsonShrinkStyle constructor

const JsonShrinkStyle({
  1. TextStyle? symbolStyle = const TextStyle(color: Colors.green, fontWeight: FontWeight.bold),
  2. TextStyle? keyStyle = const TextStyle(color: Colors.redAccent, fontWeight: FontWeight.bold),
  3. TextStyle? numberStyle = const TextStyle(color: Colors.purpleAccent, fontWeight: FontWeight.bold),
  4. TextStyle? textStyle = const TextStyle(color: Colors.white),
  5. TextStyle? urlStyle = const TextStyle(color: Colors.blue, decoration: TextDecoration.underline),
  6. TextStyle? boolStyle = const TextStyle(color: Colors.yellowAccent, fontWeight: FontWeight.bold),
  7. TextStyle? indentationStyle = const TextStyle(color: Colors.transparent),
  8. Size size = const Size(50, 50),
})

normal theme

Implementation

const JsonShrinkStyle({
  this.symbolStyle =
      const TextStyle(color: Colors.green, fontWeight: FontWeight.bold),
  this.keyStyle =
      const TextStyle(color: Colors.redAccent, fontWeight: FontWeight.bold),
  this.numberStyle = const TextStyle(
      color: Colors.purpleAccent, fontWeight: FontWeight.bold),
  this.textStyle = const TextStyle(color: Colors.white),
  this.urlStyle = const TextStyle(
      color: Colors.blue, decoration: TextDecoration.underline),
  this.boolStyle = const TextStyle(
      color: Colors.yellowAccent, fontWeight: FontWeight.bold),
  this.indentationStyle = const TextStyle(color: Colors.transparent),
  this.size = const Size(50, 50),
});