JsonShrinkStyle constructor
const
JsonShrinkStyle({
- TextStyle? symbolStyle = const TextStyle(color: Colors.green, fontWeight: FontWeight.bold),
- TextStyle? keyStyle = const TextStyle(color: Colors.redAccent, fontWeight: FontWeight.bold),
- TextStyle? numberStyle = const TextStyle(color: Colors.purpleAccent, fontWeight: FontWeight.bold),
- TextStyle? textStyle = const TextStyle(color: Colors.white),
- TextStyle? urlStyle = const TextStyle(color: Colors.blue, decoration: TextDecoration.underline),
- TextStyle? boolStyle = const TextStyle(color: Colors.yellowAccent, fontWeight: FontWeight.bold),
- TextStyle? indentationStyle = const TextStyle(color: Colors.transparent),
- 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),
});