Home > Back-end >  Create an image, some text and how to save it with flutter/dart
Create an image, some text and how to save it with flutter/dart

Time:02-01

I develop a project. There will be images and text in a stack widget. There will be a "download" button on the outside. How can I download it as a photo when I press the download button?

The structure example; enter image description here

Thanks, eyup

CodePudding user response:

use the

flutter_downloader package.

This is the flutter community official's Plugin

CodePudding user response:

This might be helpful brother and I wonder you could have seen it already but take a look.

How to download image to gallery in flutter

CodePudding user response:

You need to add the onPressed function to your button widget. Point towards the image you want to download.

onPressed: () {
    // do something 
}
  •  Tags:  
  • Related