feat: Clean-up imports
MODIFY
packages/graphql_flutter/lib/src/widgets/hooks/graphql_client.dart
packages/graphql_flutter/lib/src/widgets/hooks/graphql_client.dart
import 'package:flutter_hooks/flutter_hooks.dart';
-import 'package:graphql_flutter/graphql_flutter.dart';
+import 'package:graphql/client.dart';
+import 'package:graphql_flutter/src/widgets/graphql_provider.dart';
GraphQLClient useGraphQLClient() {
final context = useContext();

MODIFY
packages/graphql_flutter/lib/src/widgets/hooks/mutation.dart
packages/graphql_flutter/lib/src/widgets/hooks/mutation.dart
import 'package:flutter_hooks/flutter_hooks.dart';
+import 'package:graphql/client.dart';
import 'package:graphql_flutter/src/widgets/hooks/graphql_client.dart';
-import 'package:graphql_flutter/src/widgets/query.dart';
typedef RunMutation<TParsed> = MultiSourceResult<TParsed> Function(
Map<String, dynamic> variables, {

MODIFY
packages/graphql_flutter/lib/src/widgets/hooks/query.dart
packages/graphql_flutter/lib/src/widgets/hooks/query.dart
import 'package:flutter_hooks/flutter_hooks.dart';
-import 'package:graphql_flutter/graphql_flutter.dart';
+import 'package:graphql/client.dart';
+import 'package:graphql_flutter/src/widgets/hooks/watch_query.dart';
// method to call from widget to fetchmore queries
typedef FetchMore<TParsed> = Future<QueryResult<TParsed>> Function(

MODIFY
packages/graphql_flutter/lib/src/widgets/hooks/subscription.dart
packages/graphql_flutter/lib/src/widgets/hooks/subscription.dart
@@ -4,7 +4,7 @@ import 'dart:io';
import 'package:connectivity_plus/connectivity_plus.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
-import 'package:graphql_flutter/graphql_flutter.dart';
+import 'package:graphql/client.dart';
import 'package:graphql_flutter/src/widgets/hooks/graphql_client.dart';
typedef OnSubscriptionResult<TParsed> = void Function(

MODIFY
packages/graphql_flutter/lib/src/widgets/hooks/watch_query.dart
packages/graphql_flutter/lib/src/widgets/hooks/watch_query.dart
import 'package:flutter/widgets.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
-import 'package:graphql_flutter/graphql_flutter.dart';
+import 'package:graphql/client.dart';
import 'package:graphql_flutter/src/widgets/hooks/graphql_client.dart';
class _WatchQueryHook<TParsed> extends Hook<ObservableQuery<TParsed>> {

MODIFY
packages/graphql_flutter/lib/src/widgets/mutation.dart
packages/graphql_flutter/lib/src/widgets/mutation.dart
import 'package:flutter/widgets.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
-
import 'package:graphql/client.dart';
import 'package:graphql_flutter/src/widgets/hooks/mutation.dart';
-export 'package:graphql_flutter/src/widgets/hooks/mutation.dart';
-
typedef MutationBuilder<TParsed> = Widget Function(
RunMutation<TParsed> runMutation,
QueryResult<TParsed>? result,

MODIFY
packages/graphql_flutter/lib/src/widgets/query.dart
packages/graphql_flutter/lib/src/widgets/query.dart
import 'package:flutter/widgets.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
-
-import 'package:graphql_flutter/graphql_flutter.dart';
-export 'package:graphql_flutter/graphql_flutter.dart';
+import 'package:graphql/client.dart';
+import 'package:graphql_flutter/src/widgets/hooks/query.dart';
typedef QueryBuilder<TParsed> = Widget Function(
QueryResult<TParsed> result, {

MODIFY
packages/graphql_flutter/lib/src/widgets/subscription.dart
packages/graphql_flutter/lib/src/widgets/subscription.dart
import 'package:flutter/widgets.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
-import 'package:graphql_flutter/graphql_flutter.dart';
+import 'package:graphql/client.dart';
+import 'package:graphql_flutter/src/widgets/hooks/subscription.dart';
/// Creats a subscription with [GraphQLClient.subscribe].
///

feat: Clean-up imports