add search fragment

This commit is contained in:
Andrew 2022-09-13 11:13:17 +07:00
parent 72a46116b3
commit 4833b5c18c
8 changed files with 542 additions and 6 deletions

View file

@ -6,6 +6,7 @@ import 'package:ladle/bloc/scoop_list_bloc.dart';
import 'package:system_theme/system_theme.dart';
import 'app.dart';
import 'bloc/scoop_search_bloc.dart';
void main() async {
final binding =
@ -29,6 +30,10 @@ void main() async {
BlocProvider(
create: (context) => ScoopListBloc()..add(ScoopLocate()),
),
BlocProvider(
create: (context) =>
ScoopSearchBloc()..add(const ScoopSearchQueryChanged("")),
),
],
child: const LadleApp(),
));