mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-18 07:44:26 +01:00
new: Providers
This commit is contained in:
@@ -325,7 +325,7 @@ class ServerProvider extends ChangeNotifier {
|
||||
return await client.run(snippets.map((e) => e.script).join('&&')).string;
|
||||
}
|
||||
|
||||
Future<List<String?>> runSnippetsOnMulti(
|
||||
Future<List<String?>> runSnippetsMulti(
|
||||
List<String> ids,
|
||||
List<Snippet> snippets,
|
||||
) async {
|
||||
|
||||
@@ -2,8 +2,8 @@ import 'package:flutter/widgets.dart';
|
||||
import 'package:toolbox/data/res/store.dart';
|
||||
import 'package:xterm/core.dart';
|
||||
|
||||
class VirtualKeyboard extends TerminalInputHandler with ChangeNotifier {
|
||||
VirtualKeyboard();
|
||||
class VirtKeyProvider extends TerminalInputHandler with ChangeNotifier {
|
||||
VirtKeyProvider();
|
||||
|
||||
bool _ctrl = false;
|
||||
bool get ctrl => _ctrl;
|
||||
|
||||
Reference in New Issue
Block a user