byte_util 1.1.1
byte_util: ^1.1.1 copied to clipboard
byte utilities can read string to byte array,or convert byte array to readable string, or base64 convert.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'widget_example.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'byte util example',
home: MyHomePage(),
);
}
}
class MyHomePage extends StatefulWidget {
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text('byte util example')),
body: Center(child: WidgetExample()),
);
}
}