Beginning FlutterFire

Aug 30 2022 · Dart 2.16, Flutter 3.0, Visual Studio Code 1.69

Part 3: Read & Write Data with the Cloud Firestore

15. Delete Data from the ListView

Episode complete

Play next episode

About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 14. Add & Update Data into the Firestore Database Next episode: 16. Set Cloud Firestore Rules

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

Now users can view, add and update activities: the last action we need to implement to complete our CRUD interaction with Firestore is deleting Activities.

Future deleteActivity(String activityId) async { 
    try { 
      await activities.doc(activityId).delete(); 
    } on Exception catch (e) { 
return Dismissible( 
  onDismissed: (_) { 
  key: Key(, 
  child: ListTile(