* tweaks

* opt: semantics
This commit is contained in:
My-Responsitories
2026-06-13 02:43:37 +00:00
committed by GitHub
parent 1c19925b58
commit 199ad274b7
23 changed files with 123 additions and 180 deletions

View File

@@ -116,9 +116,10 @@ class _CreateFavPageState extends State<CreateFavPage> {
Future<void> _pickImg(BuildContext context, ThemeData theme) async {
try {
XFile? pickedFile = await _imagePicker.pickImage(
final pickedFile = await _imagePicker.pickImage(
source: ImageSource.gallery,
imageQuality: 100,
requestFullMetadata: false,
);
if (pickedFile != null && mounted) {
String imgPath = pickedFile.path;