Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mhdaslam790 committed Apr 8, 2024
1 parent 7306c93 commit 918c87a
Show file tree
Hide file tree
Showing 57 changed files with 446 additions and 516 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": false
"editor.wordBasedSuggestions": "off"
},
"files.autoSave": "afterDelay",
"editor.guides.bracketPairs": true,
Expand Down
1 change: 1 addition & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ analyzer:
- "**/*.freezed.dart"
errors:
missing_return: error
invalid_annotation_target: ignore

dart_code_metrics:
anti-patterns:
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ apply plugin: 'com.google.firebase.crashlytics'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 33
compileSdkVersion 34

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -51,7 +51,7 @@ android {

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.flutter_template"
applicationId "com.new.package.name"
minSdkVersion 24
targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.flutter_template">
package="com.new.package.name">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
4 changes: 2 additions & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.flutter_template">
package="com.new.package.name">

<!-- List of all possible permissions supported. Disable which are not required by the application to pass play store review. -->
<!--
Expand Down Expand Up @@ -76,7 +76,7 @@
<!-- Permissions options for the `system alert windows` group -->
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />

<!-- Permissions options for the `request install packages` group -->
<!-- Permissions options for the `request install packags` group -->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />

<!-- Permissions options for the `access notification policy` group -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.flutter_template
package com.new.package.name

import io.flutter.embedding.android.FlutterActivity

Expand Down
2 changes: 1 addition & 1 deletion android/app/src/profile/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.flutter_template">
package="com.new.package.name">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
Empty file modified dev_commands.sh
100644 → 100755
Empty file.
3 changes: 0 additions & 3 deletions lib/application/auth/auth_bloc.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import 'dart:async';
import 'dart:developer';

import 'package:connectivity_plus/connectivity_plus.dart';
import 'package:dartz/dartz.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
Expand Down
22 changes: 11 additions & 11 deletions lib/application/auth/auth_bloc.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ part of 'auth_bloc.dart';
T _$identity<T>(T value) => value;

final _privateConstructorUsedError = UnsupportedError(
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods');
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');

/// @nodoc
mixin _$AuthEvent {
Expand Down Expand Up @@ -187,7 +187,7 @@ class _$RegisterWithEmailAndPasswordImpl
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$RegisterWithEmailAndPasswordImpl &&
Expand Down Expand Up @@ -396,7 +396,7 @@ class _$SignInWithEmailAndPasswordImpl implements _SignInWithEmailAndPassword {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$SignInWithEmailAndPasswordImpl &&
Expand Down Expand Up @@ -575,7 +575,7 @@ class _$SignOutImpl implements SignOut {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType && other is _$SignOutImpl);
}
Expand Down Expand Up @@ -735,7 +735,7 @@ class _$CheckAuthStateImpl implements CheckAuthState {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType && other is _$CheckAuthStateImpl);
}
Expand Down Expand Up @@ -914,7 +914,7 @@ class _$SendEmailConfirmationImpl implements _SendEmailConfirmation {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$SendEmailConfirmationImpl &&
Expand Down Expand Up @@ -1089,7 +1089,7 @@ class _$DeleteAccountImpl implements _DeleteAccount {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType && other is _$DeleteAccountImpl);
}
Expand Down Expand Up @@ -1267,7 +1267,7 @@ class _$UpdateEmailAddressImpl implements _UpdateEmailAddress {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$UpdateEmailAddressImpl &&
Expand Down Expand Up @@ -1463,7 +1463,7 @@ class _$UpdateConnectivityStatusImpl implements _UpdateConnectivityStatus {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$UpdateConnectivityStatusImpl &&
Expand Down Expand Up @@ -1640,7 +1640,7 @@ class _$CheckConnectivityStatusImpl implements _CheckConnectivityStatus {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$CheckConnectivityStatusImpl);
Expand Down Expand Up @@ -1969,7 +1969,7 @@ class _$AuthStateImpl implements _AuthState {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$AuthStateImpl &&
Expand Down
2 changes: 1 addition & 1 deletion lib/application/local_auth/local_auth_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ part 'local_auth_state.dart';
part 'local_auth_bloc.freezed.dart';

class LocalAuthBloc extends Bloc<LocalAuthEvent, LocalAuthState> {
LocalAuthBloc() : super(_Initial()) {
LocalAuthBloc() : super(const _Initial()) {
on<LocalAuthEvent>((event, emit) {
// TODO: implement event handler
});
Expand Down
6 changes: 3 additions & 3 deletions lib/application/local_auth/local_auth_bloc.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ part of 'local_auth_bloc.dart';
T _$identity<T>(T value) => value;

final _privateConstructorUsedError = UnsupportedError(
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods');
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');

/// @nodoc
mixin _$LocalAuthEvent {
Expand Down Expand Up @@ -95,7 +95,7 @@ class _$StartedImpl implements _Started {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType && other is _$StartedImpl);
}
Expand Down Expand Up @@ -245,7 +245,7 @@ class _$InitialImpl implements _Initial {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType && other is _$InitialImpl);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/application/local_auth/local_auth_event.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ part of 'local_auth_bloc.dart';
@freezed
class LocalAuthEvent with _$LocalAuthEvent {
const factory LocalAuthEvent.started() = _Started;
}
}
6 changes: 3 additions & 3 deletions lib/application/settings/settings_bloc.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ part of 'settings_bloc.dart';
T _$identity<T>(T value) => value;

final _privateConstructorUsedError = UnsupportedError(
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods');
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');

/// @nodoc
mixin _$SettingsEvent {
Expand Down Expand Up @@ -135,7 +135,7 @@ class _$ChangeAppThemeImpl implements _ChangeAppTheme {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$ChangeAppThemeImpl &&
Expand Down Expand Up @@ -325,7 +325,7 @@ class _$SettingsStateImpl implements _SettingsState {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$SettingsStateImpl &&
Expand Down
16 changes: 8 additions & 8 deletions lib/domain/auth/auth_failure.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ part of 'auth_failure.dart';
T _$identity<T>(T value) => value;

final _privateConstructorUsedError = UnsupportedError(
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods');
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');

/// @nodoc
mixin _$AuthFailure {
Expand Down Expand Up @@ -134,7 +134,7 @@ class _$CancelledByUserImpl implements CancelledByUser {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType && other is _$CancelledByUserImpl);
}
Expand Down Expand Up @@ -287,7 +287,7 @@ class _$ServerErrorImpl implements ServerError {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$ServerErrorImpl &&
Expand Down Expand Up @@ -435,7 +435,7 @@ class _$EmailAlreadyInUseImpl implements EmailAlreadyInUse {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType && other is _$EmailAlreadyInUseImpl);
}
Expand Down Expand Up @@ -570,7 +570,7 @@ class _$UserNotFoundImpl implements UserNotFound {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType && other is _$UserNotFoundImpl);
}
Expand Down Expand Up @@ -723,7 +723,7 @@ class _$RequiredRecentLoginImpl implements RequiredRecentLogin {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$RequiredRecentLoginImpl &&
Expand Down Expand Up @@ -873,7 +873,7 @@ class _$DeleteAccountFailureImpl implements DeleteAccountFailure {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$DeleteAccountFailureImpl);
Expand Down Expand Up @@ -1013,7 +1013,7 @@ class _$InvalidEmailAndPasswordCombinationImpl
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$InvalidEmailAndPasswordCombinationImpl);
Expand Down
1 change: 0 additions & 1 deletion lib/domain/core/extensions/string_extensions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'dart:developer';

import 'package:flutter_template/domain/core/extensions/numeric_extensions.dart';


extension StringX on String {
String formatCategory() {
final String formattedCategory =
Expand Down
Loading

0 comments on commit 918c87a

Please sign in to comment.