rick_and_morty_api 0.1.2 icon indicating copy to clipboard operation
rick_and_morty_api: ^0.1.2 copied to clipboard

Dart wrapper for The Rick and Morty API

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

import 'src/home.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    SystemChrome.setSystemUIOverlayStyle(
      SystemUiOverlayStyle(statusBarColor: Colors.transparent),
    );

    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'R&M API TEST',
      home: HomePage(),
    );
  }
}
2
likes
100
pub points
23%
popularity

Publisher

verified publisher iconyashgarg.dev

Dart wrapper for The Rick and Morty API

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

dio, flutter, lints

More

Packages that depend on rick_and_morty_api