This file contains hidden or 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
| { | |
| "template": "App Release", | |
| "version": 7, | |
| "epics": [ | |
| { | |
| "id": "ai", | |
| "epic": "App Icons", | |
| "tasks": [ | |
| { "id": "7DA5766A", "name": "Design your app icon (IconKitchen, Figma)" }, | |
| { "id": "029C2183", "name": "Different icons for each flavor" }, |
This file contains hidden or 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
| {{flutter_js}} | |
| {{flutter_build_config}} | |
| // Manipulate the DOM to add a loading spinner will be rendered with this HTML: | |
| // <div class="loading"> | |
| // <div class="loader" /> | |
| // </div> | |
| const loadingDiv = document.createElement('div'); | |
| loadingDiv.className = "loading"; | |
| document.body.appendChild(loadingDiv); |
This file contains hidden or 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
| #!/bin/bash | |
| # Update Gradle, Java and other Android project settings in a Flutter project | |
| # Works with both .gradle and .gradle.kts build files | |
| # See: https://gradle.org/releases/ | |
| # See: https://developer.android.com/build/releases/gradle-plugin#compatibility | |
| DESIRED_GRADLE_VERSION="8.11.1" | |
| # Build errors often show the required Java version | |
| DESIRED_JAVA_VERSION="17" | |
| # See: https://developer.android.com/ndk/downloads |
This file contains hidden or 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
| #!/bin/bash | |
| # Script to build and upload the ipa file to App Store Connect | |
| # Exit immediately if any command fails | |
| set -e | |
| # Validate that the API Key ID and Issuer ID are set | |
| if [[ -z ${APP_STORE_CONNECT_KEY_ID} ]]; then | |
| echo "Please set APP_STORE_CONNECT_KEY_ID as an environment variable." | |
| exit 1 |
This file contains hidden or 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 'dart:developer'; | |
| import 'package:dio/dio.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:sentry_dio/sentry_dio.dart'; | |
| import 'package:sentry_flutter/sentry_flutter.dart'; | |
| const String kSentryDsn = String.fromEnvironment('SENTRY_DSN'); | |
| const _gistTemplateUrl = |
This file contains hidden or 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:flutter/material.dart'; | |
| import 'package:flutter_riverpod/flutter_riverpod.dart'; | |
| import 'package:package_info_plus/package_info_plus.dart'; | |
| import 'package:riverpod_annotation/riverpod_annotation.dart'; | |
| part 'main.g.dart'; | |
| void main() { | |
| runApp(ProviderScope(child: const MainApp())); | |
| } |
This file contains hidden or 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 'dart:async'; | |
| import 'dart:developer'; | |
| import 'package:firebase_remote_config/firebase_remote_config.dart'; | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/services.dart'; | |
| import 'package:flutter_riverpod/flutter_riverpod.dart'; | |
| import 'package:riverpod_annotation/riverpod_annotation.dart'; | |
| part 'firebase_remote_config_provider.g.dart'; |
This file contains hidden or 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:flutter/cupertino.dart'; | |
| import 'package:flutter/material.dart'; | |
| /// Helper function for showing an adaptive alert dialog | |
| /// Returns: | |
| /// - true if the default action was selected | |
| /// - false if the cancel action was selected | |
| /// - null if the dialog was dismissed | |
| Future<bool?> showAlertDialog({ | |
| required BuildContext context, |
This file contains hidden or 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:flutter/gestures.dart'; | |
| import 'package:flutter/material.dart'; | |
| class TripleTapDetector extends StatelessWidget { | |
| const TripleTapDetector({ | |
| super.key, | |
| required this.child, | |
| required this.onTripleTap, | |
| }); | |
| final Widget child; |
This file contains hidden or 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
| { | |
| "config" : { | |
| "required_version": "1.0.0" | |
| } | |
| } |
NewerOlder