flutter_morse_util 0.0.3 copy "flutter_morse_util: ^0.0.3" to clipboard
flutter_morse_util: ^0.0.3 copied to clipboard

A flutter_morse_util support offline or online encode and decode for morse.

flutter_morse_util #

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

项目环境 #

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

使用方法: #

安装依赖: #

这个项目使用了flutter开发,请确保你本地安装了相关开发环境。

1,检查版本号是否正确

    flutter --version

2,运行命令查看是否需要安装其他依赖

    flutter doctor

3,运行启动

    flutter pub get
    flutter run
dependencies:
  flutter:
    sdk: flutter
  # 添加依赖
  flutter_morse_util: ^0.0.3

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)

0
likes
140
pub points
13%
popularity

Publisher

unverified uploader

A flutter_morse_util support offline or online encode and decode for morse.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on flutter_morse_util