flutter_earth 0.0.4

Flutter Android iOS web

A Flutter earth widget.

flutter_earth #

pub package A Flutter earth widget.

Getting Started #

Add flutter_earth as a dependency in your pubspec.yaml file.

dependencies:
  flutter_earth: ^0.0.4
import 'package:flutter_earth/flutter_earth.dart';
... ...
  
@override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: FlutterEarth(
          url: 'http://mt0.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}',
          radius: 180,
        ),
      ),
    );
  }

Screenshot #

screenshot