firefile 0.6.3
SDKflutter
Platformandroidioswindowsmacosweb
The Firefile package makes it easy to control the display of the Firestore file download progress.
Firefile
This package makes it easy to control the display of the Firestore file download progress.
Getting started
Make sure that all Firebase requirements are installed.
Usage
- Initialize
FirefileController:
controller = FirefileController();
- Use
Firefilein the widget tree, providing the requiredcontrollerinitialized above andtileBuilder:
Firefile(
controller: controller,
tileBuilder: (task) {
return ListTile(
title: Text(task.fileName),
trailing: _buildTrailing(task.state), // Full example in `example/` folder
);
},
),
- It works! 🎉