mirror of
https://github.com/foss42/apidash.git
synced 2025-05-30 05:21:15 +08:00
19 lines
469 B
Dart
19 lines
469 B
Dart
import 'package:flutter_json_view/flutter_json_view.dart';
|
|
import 'package:apidash/consts.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
final jsonViewTheme = JsonViewTheme(
|
|
defaultTextStyle: kCodeStyle,
|
|
viewType: JsonViewType.collapsible,
|
|
backgroundColor: kColorBg,
|
|
stringStyle: const TextStyle(color: Colors.brown),
|
|
closeIcon: const Icon(
|
|
Icons.arrow_drop_up,
|
|
size: 18,
|
|
),
|
|
openIcon: const Icon(
|
|
Icons.arrow_drop_down,
|
|
size: 18,
|
|
),
|
|
);
|