This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
print('Value: ${returnValue()}'); | |
} | |
bool? returnValue() { | |
try { | |
throw Exception(); | |
return null; | |
} catch (error, stack) { | |
return true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Android Release | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- develop | |
- master | |
types: [closed, opened, reopened, synchronize] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |