Updated and added README

This commit is contained in:
Kingkor Roy Tirtho
2022-07-08 04:03:35 +06:00
parent 4afaa4b471
commit 8b834fce82
3 changed files with 156 additions and 3 deletions
+2 -2
View File
@@ -107,12 +107,12 @@ Widget build(BuildContext context){
}
```
Or if you're an elite **flutter_hooks** user you can use the `useQuery` hook which is exported from the `package:fl_query/fl_query_hooks.dart` to do the same thing as above
Or if you're an elite **flutter_hooks** user you can use the `useQuery` hook which is exported from the `package:fl_query_hooks/fl_query_hooks.dart` to do the same thing as above
```dart
/* other imports */
import 'package:flutter_hooks/flutter_hooks.dart';
import 'package:fl_query/fl_query_hooks.dart'; // importing the fl-query hook package
import 'package:fl_query_hooks/fl_query_hooks.dart'; // importing the fl-query hook package
class Example extends HookWidget{
Example(super.key);