flutter_swapi 0.0.2 copy "flutter_swapi: ^0.0.2" to clipboard
flutter_swapi: ^0.0.2 copied to clipboard

discontinued
outdated

A Flutter plugin implementation of the SWAPI (The Star Wars API)

example/example.md

swapi.getSpecies(url: url_next_page).then((species) {
    for (int i = 0; i < species.results.length; i++) {
        print(species.results[i].name);
        SpeciesItem item = await swapi.getSpeciesItem(url: species.results[i].url);
        print("---> " + item.language);
    }
})



Planets planets = await swapi.getPlanets();
for (int i = 0; i < planets.results.length; i++) {
    print(planets.results[i].name);
    PlanetsItem item = await swapi.getPlanetsItem(url: planets.results[i].url);
    print("---> " + item.rotationPeriod);
}
0
likes
0
points
43
downloads

Publisher

verified publisherthelabs.dev

Weekly Downloads

A Flutter plugin implementation of the SWAPI (The Star Wars API)

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on flutter_swapi