Update json_explorer UI as per the latest Material 3 colors

This commit is contained in:
Ashita Prasad
2025-03-01 19:46:08 +05:30
parent 0b5acbf599
commit 11cea12e2d
3 changed files with 4 additions and 4 deletions

View File

@ -88,7 +88,7 @@ JsonExplorer(
fontSize: 16,
),
propertyKeyTextStyle: GoogleFonts.inconsolata(
color: Colors.black.withOpacity(0.7),
color: Colors.grey,
fontWeight: FontWeight.bold,
fontSize: 16,
),

View File

@ -284,7 +284,7 @@ class _JsonExplorerPageState extends State<JsonExplorerPage> {
fontSize: 16,
),
propertyKeyTextStyle: GoogleFonts.inconsolata(
color: Colors.black.withOpacity(0.7),
color: Colors.grey,
fontWeight: FontWeight.bold,
fontSize: 16,
),

View File

@ -46,8 +46,8 @@ void main() {
fontWeight: FontWeight.bold,
fontSize: 18,
),
propertyKeyTextStyle: TextStyle(
color: Colors.black.withOpacity(0.7),
propertyKeyTextStyle: const TextStyle(
color: Colors.grey,
fontWeight: FontWeight.bold,
fontSize: 18,
),