thaiqr 1.1.0 thaiqr: ^1.1.0 copied to clipboard
A Flutter package for generating Thai QR codes compliant with the PromptPay standard.
import 'package:flutter/material.dart';
import 'package:thaiqr/thaiqr.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text("Thai QR"),
),
body: ThaiQRWidget(
mobileOrId: "1234567890123",
amount: "100.23",
showHeader: true,
),
),
);
}
}