mirrored_repositories/App-Development-using-Flutter/Class 9/ecommerce
import 'package:flutter/material.dart';

import 'home.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: (Scaffold(
        appBar: AppBar(
          title: Center(
            child: Text(
              "Ecom App UI",
              style: TextStyle(
                fontWeight: FontWeight.bold,
                fontSize: 20,
              ),
            ),
          ),
          // backgroundColor: Colors.red,
          backgroundColor: Color(0xff3944F7),
          actions: [IconButton(onPressed: () {}, icon: Icon(Icons.search))],
        ),
        body: Home(),
      )),
    );
  }
}
