mutation support added

multiple data, error/mutate listeners on query
This commit is contained in:
Kingkor Roy Tirtho
2022-06-19 16:53:20 +06:00
parent 617d920464
commit 7d337e02da
10 changed files with 532 additions and 19 deletions
+12
View File
@@ -2,6 +2,7 @@ import 'dart:math';
import 'package:example/another_component.dart';
import 'package:example/lazy_query.dart';
import 'package:example/mutation_example.dart';
import 'package:example/query_with_external_data.dart';
import 'package:fl_query/fl_query.dart';
import 'package:flutter/material.dart';
@@ -137,6 +138,17 @@ class _MyHomePageState extends State<MyHomePage> {
);
},
),
const SizedBox(height: 10),
ElevatedButton(
child: const Text("Mutation Example"),
onPressed: () {
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => const MutationExample(),
),
);
},
),
const AnotherComponent(),
],
),