v1.0.3rot13
Flutter 包,用于将字符串编码/解码为 ROT13(向后旋转 13 个位置)
9喜欢 587近 30 天下载140Pub 分数
AndroidiOSWebmacOSWindowsLinux
Flutter 包,用于将字符串编码/解码为 ROT13
以下为英文项目原文快照,最新内容请访问 GitHub。
Flutter package to encode / decode string to ROT13
To use this plugin, add rot13 as a dependency in your pubspec.yaml file.
To Encode / Decode String to ROT13:
rot13(String string) - Encode / Decode a string to ROT13import 'package:flutter/material.dart';
import 'package:rot13/rot13.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
String rot13Text = "";
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text("ROT 13 Demo"),
),
body: SafeArea(
child: Column(
children: [
TextField(
onChanged: (txt) {
setState(() {
rot13Text = rot13(txt);
});
},
),
SizedBox(height: 20),
Text("Output: $rot13Text")
],
),
),
),
);
}
}
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗