Skip to content

Commit f2608ec

Browse files
Merge pull request #481 from appwrite/fix-dart-flutter-deployment
2 parents 04de540 + 3181786 commit f2608ec

File tree

5 files changed

+2
-8
lines changed

5 files changed

+2
-8
lines changed

templates/dart/lib/package.dart.twig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@ library {{ language.params.packageName }};
22

33
import 'dart:async';
44
import 'dart:typed_data';
5-
import 'package:http/http.dart' show MultipartFile;
65
import 'src/enums.dart';
76
import 'src/client.dart';
87
import 'src/service.dart';
98
import 'src/input_file.dart';
109
import 'src/upload_progress.dart';
1110
import 'models.dart' as models;
12-
import 'src/exception.dart';
1311

1412
export 'src/response.dart';
1513
export 'src/client.dart';

templates/dart/lib/src/client.dart.twig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import 'client_stub.dart'
33
if (dart.library.html) 'client_browser.dart'
44
if (dart.library.io) 'client_io.dart';
55
import 'response.dart';
6-
import 'input_file.dart';
76
import 'upload_progress.dart';
87

98
abstract class Client {

templates/dart/pubspec.yaml.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ dependencies:
1212
1313
dev_dependencies:
1414
test: ^1.16.8
15-
lints: ^1.0.1
15+
lints: ^2.0.0

templates/flutter/lib/package.dart.twig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@ library {{ language.params.packageName }};
22

33
import 'dart:async';
44
import 'dart:typed_data';
5-
import 'package:flutter/foundation.dart';
6-
import 'package:http/http.dart' show MultipartFile;
75
import 'src/enums.dart';
86
import 'src/client.dart';
97
import 'src/service.dart';
108
import 'src/input_file.dart';
119
import 'models.dart' as models;
1210
import 'src/upload_progress.dart';
13-
import 'src/exception.dart';
1411

1512
export 'src/response.dart';
1613
export 'src/client.dart';

templates/flutter/pubspec.yaml.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ dependencies:
1919
web_socket_channel: ^2.2.0
2020
2121
dev_dependencies:
22-
flutter_lints: ^1.0.4
22+
flutter_lints: ^2.0.1
2323
flutter_test:
2424
sdk: flutter

0 commit comments

Comments
 (0)