Creating the first screen

In order to create the first page create products_screen.dart under src/product/view/product with the following basic screen.

import 'package:flutter/material.dart';

class ProductsScreen extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Text("Product Screen"),
      ),
    );
  }
}

That's enough for now let's go ahead and create the router setup.

Last updated