mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 18:57:05 +08:00
retain highlighter
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import 'package:apidash_core/apidash_core.dart';
|
import 'package:apidash_core/apidash_core.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:highlighter/highlighter.dart' show highlight, Node;
|
||||||
import 'package:apidash/consts.dart';
|
import 'package:apidash/consts.dart';
|
||||||
import 'package:highlight/highlight.dart';
|
|
||||||
import 'error_message.dart';
|
import 'error_message.dart';
|
||||||
|
|
||||||
(String, bool) sanitize(String input) {
|
(String, bool) sanitize(String input) {
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import 'package:apidash_design_system/apidash_design_system.dart';
|
import 'package:apidash_design_system/apidash_design_system.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:highlighter/highlighter.dart' show highlight;
|
||||||
import 'package:apidash/consts.dart';
|
import 'package:apidash/consts.dart';
|
||||||
import 'package:apidash/utils/utils.dart';
|
import 'package:apidash/utils/utils.dart';
|
||||||
import 'package:highlight/highlight.dart';
|
|
||||||
import 'button_copy.dart';
|
import 'button_copy.dart';
|
||||||
import 'button_save_download.dart';
|
import 'button_save_download.dart';
|
||||||
import 'button_share.dart';
|
import 'button_share.dart';
|
||||||
|
|||||||
@@ -712,7 +712,7 @@ packages:
|
|||||||
source: hosted
|
source: hosted
|
||||||
version: "0.7.0"
|
version: "0.7.0"
|
||||||
highlighter:
|
highlighter:
|
||||||
dependency: transitive
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: highlighter
|
name: highlighter
|
||||||
sha256: "92180c72b9da8758e1acf39a45aa305a97dcfe2fdc8f3d1d2947c23f2772bfbc"
|
sha256: "92180c72b9da8758e1acf39a45aa305a97dcfe2fdc8f3d1d2947c23f2772bfbc"
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ dependencies:
|
|||||||
flutter_svg: ^2.0.17
|
flutter_svg: ^2.0.17
|
||||||
fvp: ^0.30.0
|
fvp: ^0.30.0
|
||||||
highlight: ^0.7.0
|
highlight: ^0.7.0
|
||||||
|
highlighter: ^0.1.1
|
||||||
hive_flutter: ^1.1.0
|
hive_flutter: ^1.1.0
|
||||||
hooks_riverpod: ^2.5.2
|
hooks_riverpod: ^2.5.2
|
||||||
intl: ^0.19.0
|
intl: ^0.19.0
|
||||||
|
|||||||
Reference in New Issue
Block a user