diff --git a/packages/flutter_timeline_view/lib/src/screens/timeline_post_creation_screen.dart b/packages/flutter_timeline_view/lib/src/screens/timeline_post_creation_screen.dart index 8092286..0406314 100644 --- a/packages/flutter_timeline_view/lib/src/screens/timeline_post_creation_screen.dart +++ b/packages/flutter_timeline_view/lib/src/screens/timeline_post_creation_screen.dart @@ -217,6 +217,17 @@ class _TimelinePostCreationScreenState Icons.insert_drive_file, ), ), + customButton: TextButton( + onPressed: () { + Navigator.pop(context); + }, + child: Text( + 'Cancel', + style: theme.textTheme.bodyMedium!.copyWith( + decoration: TextDecoration.underline, + ), + ), + ), ), ), );