Skip to content

Instantly share code, notes, and snippets.

@maffan91
Created January 11, 2020 19:08

Revisions

  1. maffan91 created this gist Jan 11, 2020.
    20 changes: 20 additions & 0 deletions main.dart
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    import 'package:flutter/material.dart';
    import 'package:rest_api/user-list.dart';

    void main() => runApp(MyApp());

    class MyApp extends StatelessWidget {
    // This widget is the root of your application.
    @override
    Widget build(BuildContext context) {
    return MaterialApp(
    title: 'Rest API Demo',
    theme: ThemeData(

    primarySwatch: Colors.blue,
    ),
    home: UserList(),
    );
    }
    }