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
import 'dart:developer'; | |
import 'package:dio/dio.dart'; | |
/// A simple interceptor used to log all network requests | |
/// For more details, see: https://github.com/bizz84/flutter-tips-and-tricks/blob/main/tips/0152-log-status-code-emoji/index.md | |
class LoggerInterceptor implements Interceptor { | |
final stopwatches = <String, Stopwatch>{}; | |
@override |
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
import 'package:flutter/gestures.dart'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const MainApp()); | |
} | |
class MainApp extends StatelessWidget { | |
const MainApp({super.key}); |
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
Abseil | |
AFNetworking | |
Alamofire | |
AppAuth | |
BoringSSL / openssl_grpc | |
Capacitor | |
Charts | |
connectivity_plus | |
Cordova | |
device_info_plus |
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'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
@override |
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:math'; | |
import 'package:flutter/material.dart'; | |
import 'package:scroll_to_index/scroll_to_index.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { |
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:math'; | |
import 'package:flutter/material.dart'; | |
// To use this package, run: | |
// dart pub add page_flip_builder | |
import 'package:page_flip_builder/page_flip_builder.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} |
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
# Set the platform at the top | |
platform :osx, '10.15' | |
# Rest of the pod file | |
# Update post_install step | |
post_install do |installer| | |
# Ensure pods use the minimum deployment target set above | |
# https://stackoverflow.com/a/64385584/436422 | |
pods_project = installer.pods_project |
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
# Set the platform at the top | |
platform :ios, '13.0' | |
# Rest of the pod file | |
# Update post_install step | |
post_install do |installer| | |
# Ensure pods use the minimum deployment target set above | |
# https://stackoverflow.com/a/64385584/436422 | |
pods_project = installer.pods_project |