Skip to content

Instantly share code, notes, and snippets.

View mondoktamas's full-sized avatar

Mondok Tamas mondoktamas

  • PettersonApps
  • Ukraine
View GitHub Profile
# This is a basic workflow to help you get started with Actions
name: Test & Analyze
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the dev branch
on:
workflow_dispatch:
pull_request:
branches:
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.
# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml
import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:skogluft/application/di/injection.dart';
import 'package:skogluft/application/presentation/bloc/bloc.dart';
import 'package:skogluft/application/presentation/deeplink/dynamic_links_handler.dart';
import 'package:skogluft/application/presentation/router/router.gr.dart';
class AuthScopePage extends StatelessWidget {
const AuthScopePage({final Key? key}) : super(key: key);
import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:skogluft/application/di/injection.dart';
import 'package:skogluft/application/features/unauthorized/features/instructions/presentation/bloc/instructions_bloc.dart';
import 'package:skogluft/application/features/unauthorized/features/signin/presentation/bloc/sign_in_bloc.dart';
import 'package:skogluft/application/features/unauthorized/features/signup/presentation/bloc/sign_up_bloc.dart';
import 'package:skogluft/application/features/unauthorized/features/start/presentation/bloc/start_page_bloc.dart';
class UnauthorizedWrapperPage extends StatelessWidget {
import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:skogluft/application/di/injection.dart';
import 'package:skogluft/application/features/authorized/features/home/presentation/cubit/badge_cubit.dart';
import 'package:skogluft/application/features/authorized/features/home/presentation/cubit/main_page_cubit.dart';
import 'package:skogluft/application/features/authorized/features/my_account/presentation/bloc/my_account_bloc.dart';
import 'package:skogluft/application/features/authorized/features/plant_support/presentation/cubit/plant_support_cubit.dart';
import 'package:skogluft/application/features/unauthorized/features/instructions/presentation/bloc/instructions_bloc.dart';
import 'package:dio/dio.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:get_it/get_it.dart';
import 'package:skogluft/application/data/chat_service/chat_service.dart';
import 'package:skogluft/application/data/datasource/auth_local_data_store.dart';
import 'package:skogluft/application/data/datasource/auth_service.dart';
import 'package:skogluft/application/data/datasource/token_interceptor.dart';
import 'package:skogluft/application/data/datasource/user_service.dart';
import 'package:skogluft/application/data/notification_service/notification_service.dart';
void main() {
print('Value: ${returnValue()}');
}
bool? returnValue() {
try {
throw Exception();
return null;
} catch (error, stack) {
return true;
name: Create Android Release
on:
workflow_dispatch:
pull_request:
branches:
- develop
- master
types: [closed, opened, reopened, synchronize]
import 'package:auto_route/auto_route.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart' hide IconButton;
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:skogluft/application/features/unauthorized/features/signup/presentation/bloc/sign_up_bloc.dart';
import 'package:skogluft/application/features/unauthorized/features/signup/presentation/bloc/sign_up_state.dart';
import 'package:skogluft/application/presentation/resources/colors.dart';
import 'package:skogluft/application/presentation/resources/images.dart';
import 'package:skogluft/application/presentation/router/router.gr.dart';
package passbaseplugin.pettersonapps.com.passbase_flutter
import android.content.Context
import android.view.View
import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel
import io.flutter.plugin.common.MethodChannel.MethodCallHandler
import io.flutter.plugin.common.MethodChannel.Result
import io.flutter.plugin.common.PluginRegistry.Registrar
import com.passbase.passbase_sdk.PassbaseSDK