Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/global/bloc_observer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ class SimpleBlocObserver extends BlocObserver {
}

@override
void onError(Bloc bloc, Object error, StackTrace stacktrace) {
void onError(Cubit cubit, Object error, StackTrace stacktrace) {
logger.e(error);
super.onError(bloc, error, stacktrace);
super.onError(cubit, error, stacktrace);
}

@override
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/components/friendSelector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class SelectListModalState extends State<SelectListModal> {
}

List<Widget> _buildItemRow(FriendSelectorItem item) {
List<Widget> widgets = new List<Widget>();
List<Widget> widgets = [];
widgets.addAll(item.leading ?? []);
widgets.add(Expanded(child: item.child));
widgets.add(item.isSelected
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/screens/verification_page/verification_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class VerificationMainBody extends StatelessWidget {
}
if (state is ResendVerification) {
Navigator.of(context).pop();
BlocProvider.of(context).add(VerificationInitiated());
BlocProvider.of<VerificationBloc>(context).add(VerificationInitiated());
}
},
builder: (context, state) {
Expand Down
92 changes: 32 additions & 60 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ packages:
name: args
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
version: "2.3.0"
async:
dependency: transitive
description:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.8.1"
version: "2.8.2"
bloc:
dependency: transitive
description:
name: bloc
url: "https://pub.dartlang.org"
source: hosted
version: "5.0.1"
version: "6.1.3"
boolean_selector:
dependency: transitive
description:
Expand All @@ -56,7 +56,7 @@ packages:
name: build_config
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.5"
version: "0.4.6"
build_daemon:
dependency: transitive
description:
Expand All @@ -77,14 +77,14 @@ packages:
name: build_runner
url: "https://pub.dartlang.org"
source: hosted
version: "1.11.1+1"
version: "1.11.5"
build_runner_core:
dependency: transitive
description:
name: build_runner_core
url: "https://pub.dartlang.org"
source: hosted
version: "6.1.7"
version: "6.1.10"
built_collection:
dependency: transitive
description:
Expand All @@ -98,7 +98,7 @@ packages:
name: built_value
url: "https://pub.dartlang.org"
source: hosted
version: "8.0.0-nullsafety.0"
version: "8.1.2"
characters:
dependency: transitive
description:
Expand Down Expand Up @@ -126,7 +126,7 @@ packages:
name: cli_util
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.0"
version: "0.3.4"
clock:
dependency: transitive
description:
Expand Down Expand Up @@ -175,7 +175,7 @@ packages:
name: convert
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
version: "3.0.1"
convex_bottom_bar:
dependency: "direct main"
description:
Expand All @@ -196,14 +196,7 @@ packages:
name: crypto
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.5"
cubit:
dependency: transitive
description:
name: cubit
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.2"
version: "3.0.1"
cupertino_icons:
dependency: "direct main"
description:
Expand Down Expand Up @@ -231,7 +224,7 @@ packages:
name: eventify
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.6"
version: "1.0.0"
expandable:
dependency: "direct main"
description:
Expand All @@ -252,7 +245,7 @@ packages:
name: file
url: "https://pub.dartlang.org"
source: hosted
version: "5.2.1"
version: "6.1.2"
firebase:
dependency: transitive
description:
Expand All @@ -273,7 +266,7 @@ packages:
name: firebase_analytics_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.3"
version: "1.1.0"
firebase_analytics_web:
dependency: transitive
description:
Expand Down Expand Up @@ -383,14 +376,7 @@ packages:
name: flutter_bloc
url: "https://pub.dartlang.org"
source: hosted
version: "5.0.1"
flutter_cubit:
dependency: transitive
description:
name: flutter_cubit
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.1"
version: "6.1.3"
flutter_share:
dependency: "direct main"
description:
Expand All @@ -411,7 +397,7 @@ packages:
name: flutter_svg
url: "https://pub.dartlang.org"
source: hosted
version: "0.19.3"
version: "0.22.0"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down Expand Up @@ -449,7 +435,7 @@ packages:
name: glob
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "2.0.1"
google_sign_in:
dependency: "direct main"
description:
Expand Down Expand Up @@ -507,12 +493,12 @@ packages:
source: hosted
version: "0.2.1+1"
intl:
dependency: transitive
dependency: "direct main"
description:
name: intl
url: "https://pub.dartlang.org"
source: hosted
version: "0.16.1"
version: "0.17.0"
intl_phone_number_input:
dependency: "direct main"
description:
Expand Down Expand Up @@ -589,14 +575,14 @@ packages:
name: logging
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
version: "1.0.2"
matcher:
dependency: transitive
description:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.10"
version: "0.12.11"
meta:
dependency: transitive
description:
Expand All @@ -618,20 +604,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
node_interop:
dependency: transitive
description:
name: node_interop
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.1"
node_io:
dependency: transitive
description:
name: node_io
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
package_config:
dependency: transitive
description:
Expand Down Expand Up @@ -659,14 +631,14 @@ packages:
name: path_drawing
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.1+1"
version: "0.5.1"
path_parsing:
dependency: transitive
description:
name: path_parsing
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.4"
version: "0.2.1"
path_provider:
dependency: transitive
description:
Expand Down Expand Up @@ -701,7 +673,7 @@ packages:
name: petitparser
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.0"
version: "4.1.0"
platform:
dependency: transitive
description:
Expand All @@ -722,7 +694,7 @@ packages:
name: pool
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.0"
version: "1.5.0"
provider:
dependency: transitive
description:
Expand All @@ -736,7 +708,7 @@ packages:
name: pub_semver
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.4"
version: "2.1.0"
pubspec_parse:
dependency: transitive
description:
Expand All @@ -750,7 +722,7 @@ packages:
name: pull_to_refresh
url: "https://pub.dartlang.org"
source: hosted
version: "1.6.4"
version: "1.6.5"
quiver:
dependency: transitive
description:
Expand All @@ -764,7 +736,7 @@ packages:
name: razorpay_flutter
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.5"
version: "1.2.7"
shared_preferences:
dependency: "direct main"
description:
Expand Down Expand Up @@ -888,7 +860,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.2"
version: "0.4.3"
timing:
dependency: transitive
description:
Expand Down Expand Up @@ -958,7 +930,7 @@ packages:
name: watcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.7+15"
version: "1.0.0"
web_socket_channel:
dependency: transitive
description:
Expand All @@ -972,14 +944,14 @@ packages:
name: xml
url: "https://pub.dartlang.org"
source: hosted
version: "4.5.1"
version: "5.1.2"
yaml:
dependency: transitive
description:
name: yaml
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.1"
version: "3.1.0"
sdks:
dart: ">=2.12.0 <3.0.0"
flutter: ">=1.24.0-10.1.pre"
flutter: ">=2.0.0"
5 changes: 3 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
convex_bottom_bar: ^2.6.0
country_codes: ^1.0.1
cupertino_icons: ^0.1.3
equatable: ^1.2.2
equatable: ^1.2.5
expandable: ^4.1.4
firebase_analytics: any
firebase_auth: ^0.16.1
Expand All @@ -24,14 +24,15 @@ dependencies:
flare_flutter: ^2.0.5
flutter:
sdk: flutter
flutter_bloc: ^5.0.1
flutter_bloc: ^6.1.3
flutter_share: ^1.0.2+1
flutter_sms: ^2.1.1
flutter_svg: any
fluttercontactpicker: ^2.4.3
fluttertoast: ^7.0.2
google_sign_in: ^4.5.1
in_app_review: ^0.2.0+4
intl: ^0.17.0
intl_phone_number_input: ^0.6.0
json_annotation: ^3.1.1
logger: ^0.9.1
Expand Down