Skip to content

Instantly share code, notes, and snippets.

View ctechdev's full-sized avatar

Cosimo Tassone ctechdev

View GitHub Profile
@ctechdev
ctechdev / main.dart
Created August 5, 2021 14:05 — forked from branflake2267/main.dart
Flutter - Using the future builder with infinite list view.
import 'dart:async';
import 'package:flutter/material.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
import android.annotation.SuppressLint
import android.app.Activity
import android.content.IntentSender.SendIntentException
import android.location.Location
import android.os.Looper
import com.google.android.gms.common.api.ResolvableApiException
import com.google.android.gms.location.*
class LocationHelper @JvmOverloads constructor(
private val activity: Activity,