Skip to content

Commit a7b0f85

Browse files
committed
chore(github_search): upgrade dependencies
1 parent 5d0521a commit a7b0f85

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

examples/github_search/common_github_search/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ environment:
99
dependencies:
1010
bloc:
1111
path: ../../../packages/bloc
12-
equatable: ^2.0.0-nullsafety.3
12+
equatable: ^2.0.0
1313
http: ^0.13.0
14-
rxdart: ^0.26.0-nullsafety.1
14+
rxdart: ^0.26.0

examples/github_search/flutter_github_search/lib/main.dart

+4-8
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,16 @@ import 'package:common_github_search/common_github_search.dart';
44
import 'package:flutter_github_search/search_form.dart';
55

66
void main() {
7-
final GithubRepository _githubRepository = GithubRepository(
7+
final GithubRepository githubRepository = GithubRepository(
88
GithubCache(),
99
GithubClient(),
1010
);
1111

12-
runApp(App(githubRepository: _githubRepository));
12+
runApp(App(githubRepository: githubRepository));
1313
}
1414

1515
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);
2017

2118
final GithubRepository githubRepository;
2219

@@ -27,8 +24,7 @@ class App extends StatelessWidget {
2724
home: Scaffold(
2825
appBar: AppBar(title: const Text('Github Search')),
2926
body: BlocProvider(
30-
create: (context) =>
31-
GithubSearchBloc(githubRepository: githubRepository),
27+
create: (_) => GithubSearchBloc(githubRepository: githubRepository),
3228
child: SearchForm(),
3329
),
3430
),

examples/github_search/flutter_github_search/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313
path: ../../../packages/bloc
1414
flutter_bloc:
1515
path: ../../../packages/flutter_bloc
16-
url_launcher: ^6.0.0-nullsafety.6
16+
url_launcher: ^6.0.0
1717
common_github_search:
1818
path: ../common_github_search
1919

0 commit comments

Comments
 (0)