chore: add const to remove flutter warnings

This commit is contained in:
Sean Riley Hawkins 2022-05-30 20:15:30 +02:00
parent f94684e0b6
commit c4ca0553a9
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ class DocumentShareButton extends StatelessWidget {
switch (action) {
case ShareAction.markdown:
context.read<DocShareBloc>().add(const DocShareEvent.shareMarkdown());
BubbleNotification(
const BubbleNotification(
msgTitle: 'Exported Complete ^_^',
msgBody: "Check in the flowy folder inside your documents directory")
.show(context);

View File

@ -248,7 +248,7 @@ class _BubbleNotification extends State<BubbleNotification> {
child: ListTile(
leading: SizedBox.fromSize(
size: const Size(40, 40),
child: ClipOval(
child: const ClipOval(
child: Icon(Icons.file_copy),
),
),