flutter_morse_util

Creator: coderz1093

Last updated:

0 purchases

flutter_morse_util Image
flutter_morse_util Images
Add to Cart

Description:

flutter morse util

flutter_morse_util #
一个基于flutter开发的跨端的摩尔斯标准密码工具,支持在线解码/编码,和离线解码/编码。
项目环境 #

flutter --version v3.16.9
dart --version v3.2.6
Framework --version 41456452f2
Engine --version f40e976bed

使用方法: #
安装依赖: #
这个项目使用了flutter开发,请确保你本地安装了相关开发环境。
copied to clipboard
1,检查版本号是否正确
flutter --version
copied to clipboard
2,运行命令查看是否需要安装其他依赖
flutter doctor
copied to clipboard
3,运行启动
flutter pub get
flutter run
copied to clipboard
dependencies:
flutter:
sdk: flutter
# 添加依赖
flutter_morse_util: ^0.0.3
copied to clipboard
Example #
// Import package
import 'package:flutter_morse_util/morse_util.dart'

// Instantiate it
MorseUtil _morseUtil = MorseUtil();

//start encode/decode
_morseUtil.encode('摩尔斯'); // --..-...--.-..-/-.---.....-.-../--..-.--.-.----/
_morseUtil.decode('--..-...--.-..-/-.---.....-.-../--..-.--.-.----/'); // 摩尔斯


[example demo](/example/lib/main.dart)

copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.