Skip to content

Commit

Permalink
Merge pull request #1 from tank777/bloc_issue
Browse files Browse the repository at this point in the history
Fixed bloc deprecate builder key issue
  • Loading branch information
developerpaaji committed Jan 29, 2020
2 parents 3280356 + f43bb0b commit 4df73f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:taxi_app/screens/home_screen.dart';

void main() => runApp(MultiBlocProvider(providers: [
BlocProvider<TaxiBookingBloc>(
builder: (context) => TaxiBookingBloc(),
create: (context) => TaxiBookingBloc(),
)
], child: MyApp()));

Expand Down

0 comments on commit 4df73f2

Please sign in to comment.