Skip to content
Flutter Earth Widget
Dart Ruby Shell Swift Other
Branch: master
Clone or download
zesage Merge pull request #1 from HunterVillage/master
Fix Unhandled Exception: setState() called after dispose()
Latest commit 44f7a99 Dec 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
assets add north and south pole textures Dec 17, 2019
example/earth
lib
resource
test
.gitignore inital Sep 8, 2019
.metadata inital Sep 8, 2019
CHANGELOG.md
LICENSE inital Sep 8, 2019
README.md
pubspec.lock update dependencies Dec 17, 2019
pubspec.yaml update dependencies Dec 17, 2019

README.md

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

You can’t perform that action at this time.