mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
19 lines
484 B
Dart
19 lines
484 B
Dart
import 'package:flutter/services.dart';
|
|
|
|
/// RegExp for number
|
|
final numReg = RegExp(r'\s{1,}');
|
|
|
|
/// Private Key max allowed size is 20kb
|
|
const privateKeyMaxSize = 20 * 1024;
|
|
|
|
// Editor max allowed size is 1mb
|
|
const editorMaxSize = 1024 * 1024;
|
|
|
|
/// Max debug log lines
|
|
const maxDebugLogLines = 100;
|
|
|
|
/// Method Channels
|
|
const pkgName = 'tech.lolli.toolbox';
|
|
const bgRunChannel = MethodChannel('$pkgName/app_retain');
|
|
const homeWidgetChannel = MethodChannel('$pkgName/home_widget');
|