File tree 3 files changed +7
-11
lines changed
3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ environment:
9
9
dependencies :
10
10
bloc :
11
11
path : ../../../packages/bloc
12
- equatable : ^2.0.0-nullsafety.3
12
+ equatable : ^2.0.0
13
13
http : ^0.13.0
14
- rxdart : ^0.26.0-nullsafety.1
14
+ rxdart : ^0.26.0
Original file line number Diff line number Diff line change @@ -4,19 +4,16 @@ import 'package:common_github_search/common_github_search.dart';
4
4
import 'package:flutter_github_search/search_form.dart' ;
5
5
6
6
void main () {
7
- final GithubRepository _githubRepository = GithubRepository (
7
+ final GithubRepository githubRepository = GithubRepository (
8
8
GithubCache (),
9
9
GithubClient (),
10
10
);
11
11
12
- runApp (App (githubRepository: _githubRepository ));
12
+ runApp (App (githubRepository: githubRepository ));
13
13
}
14
14
15
15
class App extends StatelessWidget {
16
- const App ({
17
- Key ? key,
18
- required this .githubRepository,
19
- }) : super (key: key);
16
+ const App ({Key ? key, required this .githubRepository}) : super (key: key);
20
17
21
18
final GithubRepository githubRepository;
22
19
@@ -27,8 +24,7 @@ class App extends StatelessWidget {
27
24
home: Scaffold (
28
25
appBar: AppBar (title: const Text ('Github Search' )),
29
26
body: BlocProvider (
30
- create: (context) =>
31
- GithubSearchBloc (githubRepository: githubRepository),
27
+ create: (_) => GithubSearchBloc (githubRepository: githubRepository),
32
28
child: SearchForm (),
33
29
),
34
30
),
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ dependencies:
13
13
path : ../../../packages/bloc
14
14
flutter_bloc :
15
15
path : ../../../packages/flutter_bloc
16
- url_launcher : ^6.0.0-nullsafety.6
16
+ url_launcher : ^6.0.0
17
17
common_github_search :
18
18
path : ../common_github_search
19
19
You can’t perform that action at this time.
0 commit comments