JSeenTheme constructor
const
JSeenTheme({
- TextStyle keyStyle = const TextStyle(color: Colors.cyan),
- TextStyle doubleStyle = const TextStyle(color: Colors.pinkAccent),
- TextStyle intStyle = const TextStyle(color: Colors.lightGreen),
- TextStyle boolStyle = const TextStyle(color: Colors.green),
- TextStyle stringStyle = const TextStyle(color: Colors.amber),
- TextStyle nullStyle = const TextStyle(color: Colors.redAccent),
- Widget closeIcon = const Icon(Icons.chevron_right, size: kIconSize),
- 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),
),
});