added cache for generics
This commit is contained in:
parent
1aa7410e2e
commit
bcf9823ffb
13 changed files with 108 additions and 9 deletions
8
lib/blocs/guest/functions/bloc_guest_dispose.dart
Normal file
8
lib/blocs/guest/functions/bloc_guest_dispose.dart
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import 'package:flutter/widgets.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:pharmacy_mobile/blocs/guest/guest_bloc.dart';
|
||||
|
||||
void blocGuestDispose(BuildContext context) async {
|
||||
final guestBloc = context.read<GuestBloc>();
|
||||
guestBloc.close();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue