import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:flutter_polyline_points/flutter_polyline_points.dart';
import 'package:geolocator/geolocator.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'package:your_project_folder/permission_manager.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
class DashedBorder extends BoxBorder { | |
const DashedBorder({ | |
this.top = BorderSide.none, | |
this.right = BorderSide.none, | |
this.bottom = BorderSide.none, | |
this.left = BorderSide.none, | |
this.dashLength = 5.0, | |
this.dashGap = 3.0, | |
}); |
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:io'; | |
import 'package:connectivity_plus/connectivity_plus.dart'; | |
class MyConnectivity { | |
MyConnectivity._(); | |
static final _instance = MyConnectivity._(); | |
static MyConnectivity get instance => _instance; |
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
# android/fastlane/Fastfile | |
update_fastlane | |
default_platform(:android) | |
platform :android do | |
lane :bump_version_code do | |
versionCode = File.read("metadata/versionCode").to_i | |
versionCode = versionCode + 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 "package:flutter/material.dart"; | |
import "package:google_fonts/google_fonts.dart"; | |
import "memory_usage.dart" if (dart.library.html) 'memory_usage_web.dart'; | |
import "dart:async"; | |
const showMemMonitor = bool.fromEnvironment("SHOW_MEM_MONITOR"); | |
class MemoryMonitor extends StatefulWidget { | |
const MemoryMonitor({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
#!/bin/sh | |
# To run, download the script or copy the code to a '.sh' file (for example 'fluttercleanrecursive.sh') and run like any other script: | |
# sh ./fluttercleanrecursive.sh | |
# or | |
# sudo sh fluttercleanrecursive.sh | |
echo "Flutter Clean Recursive (by jeroen-meijer on GitHub Gist)" | |
echo "Looking for projects... (may take a while)" |
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
# This is a basic workflow to help you get started with Actions | |
name: Build, Release app to Github Pages and Firebase Hosting | |
# name: Test, Build and Release apk | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: | |
- master |