2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00

Linting fixes

This commit is contained in:
Oliver Walters
2022-07-06 21:29:26 +10:00
parent 847fda7652
commit ed2523c3c5
4 changed files with 9 additions and 15 deletions

View File

@ -1,9 +1,3 @@
/*
* A generic widget for displaying a list of attachments.
*
* To allow use with different "types" of attachments,
* we pass a subclassed instance of the InvenTreeAttachment model.
*/
import "dart:io";
@ -17,6 +11,12 @@ import "package:inventree/widget/refreshable_state.dart";
import "package:inventree/l10.dart";
import "package:url_launcher/url_launcher.dart";
/*
* A generic widget for displaying a list of attachments.
*
* To allow use with different "types" of attachments,
* we pass a subclassed instance of the InvenTreeAttachment model.
*/
class AttachmentWidget extends StatefulWidget {
const AttachmentWidget(this.attachment, this.referenceId, this.hasUploadPermission) : super();