init
This commit is contained in:
commit
78bad1fa3d
137 files changed
+5159
No files matched your search
@@ -0,0 +1,41 @@
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class ToQrcode extends StatefulWidget {
|
||||
const ToQrcode({super.key});
|
||||
|
||||
@override
|
||||
State<ToQrcode> createState() => _ToQrcodeState();
|
||||
}
|
||||
|
||||
class _ToQrcodeState extends State<ToQrcode> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(title: Text("二维码生成器"), centerTitle: true),
|
||||
body: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16),
|
||||
child: Column(
|
||||
children: [
|
||||
Container(
|
||||
width: 200,
|
||||
height: 80,
|
||||
child: TextField(decoration: InputDecoration(hintText: "输入文本可上传")),
|
||||
),
|
||||
ElevatedButton(
|
||||
onPressed: () {},
|
||||
child: Container(
|
||||
width: 120,
|
||||
height: 40,
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
||||
children: [Icon(Icons.image), Text("点击上传图片")],
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user