Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

feature(ImagePicker): Add ImagePicker 🚀 #30

Merged

Conversation

danielkempf
Copy link

Trigger in Favorites for demo example

if (_image == null) {
getImage();
} else {
showDialog(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nativen Dialog nehmen ansonsten können wir das Popup nicht von außerhalb steuern

Padding(padding: EdgeInsets.all(8.0)),
GestureDetector(
child: Text("Bild löschen"),
onTap: () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Von wo kriegt die Seite das Image was der nutzer ausgewählt hat?

borderRadius: BorderRadius.circular(10),
),
child: _image == null
? Icon(Icons.add, size: 100)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const kann hier wie an vielen anderen stellen verwendet werden

@moverval moverval merged commit 960ce2b into FH-SWE-2023:develop Dec 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants