1.1.0 release

This commit is contained in:
jyuesong
2022-06-08 10:42:26 +08:00
parent 5698277301
commit 4e3f8a0df9
2 changed files with 19 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ class _ConfigEditPageState extends ConsumerState<ConfigEditPage> {
_codeController?.dispose(); _codeController?.dispose();
super.dispose(); super.dispose();
} }
@override @override
void initState() { void initState() {
result = widget.content; result = widget.content;
@@ -91,6 +92,15 @@ class _ConfigEditPageState extends ConsumerState<ConfigEditPage> {
child: CodeField( child: CodeField(
controller: _codeController!, controller: _codeController!,
expands: true, expands: true,
wrap: true,
lineNumberStyle: const LineNumberStyle(
width: 0,
margin: 0,
textStyle: TextStyle(
color: Colors.transparent,
fontSize: 0,
),
),
background: ref.watch(themeProvider).themeColor.settingBgColor(), background: ref.watch(themeProvider).themeColor.settingBgColor(),
), ),
), ),

View File

@@ -120,6 +120,15 @@ class _ScriptEditPageState extends ConsumerState<ScriptEditPage> {
child: CodeField( child: CodeField(
controller: _codeController!, controller: _codeController!,
expands: true, expands: true,
wrap: true,
lineNumberStyle: const LineNumberStyle(
width: 0,
margin: 0,
textStyle: TextStyle(
color: Colors.transparent,
fontSize: 0,
),
),
background: ref.watch(themeProvider).themeColor.tabBarColor(), background: ref.watch(themeProvider).themeColor.tabBarColor(),
), ),
), ),