first commit

This commit is contained in:
2026-05-22 22:00:37 +08:00
commit fee7291ab9
152 changed files with 8954 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import 'dart:typed_data';
import 'package:image_picker/image_picker.dart';
Future<Uint8List?> pickImageBytes() async {
final picker = ImagePicker();
final file = await picker.pickImage(source: ImageSource.gallery);
if (file == null) return null;
return await file.readAsBytes();
}