0% found this document useful (0 votes)
34 views

Restorent Menue App

This document contains code for a Flutter mobile app menu. It imports necessary Flutter packages and defines a StatelessWidget class called menue that builds the app UI. The home screen contains an AppBar, Column with 3 pizza item widgets, and a bottom navigation bar. Each pizza item widget displays an image, title and container styling. The bottom navigation bar contains icons for camera, call, and chats.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Restorent Menue App

This document contains code for a Flutter mobile app menu. It imports necessary Flutter packages and defines a StatelessWidget class called menue that builds the app UI. The home screen contains an AppBar, Column with 3 pizza item widgets, and a bottom navigation bar. Each pizza item widget displays an image, title and container styling. The bottom navigation bar contains icons for camera, call, and chats.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

import 'package:flutter/cupertino.

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

void main() {
runApp(menue());
}

class menue extends StatelessWidget {


@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
backgroundColor: Colors.brown,
title: const Text(
'Android ATC Pizza Place',
style: TextStyle(fontSize: 25),
),
centerTitle: true,
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.fromLTRB(16, 20, 16, 0),
child: Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20.0),
color: Colors.indigo,
),
width: double.infinity,
height: 100,
child: Row(
// ignore: prefer_const_literals_to_create_immutables
children: <Widget>[
const CircleAvatar(
backgroundImage: AssetImage('assets/images/img2.jpg'),
radius: 40,
// back(
// image: AssetImage('assets/images/img2.jpg'),
// ),
),
const SizedBox(
width: 10,
),
const Text(
'Vegetable Pizza',
style: TextStyle(
fontSize: 26,
color: Colors.white,
),
)
],
),
),
),
const SizedBox(
height: 20,
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20.0),
color: Colors.indigo,
),
width: double.infinity,
height: 100,
child: Row(
// ignore: prefer_const_literals_to_create_immutables
children: <Widget>[
const CircleAvatar(
backgroundImage: AssetImage('assets/images/img3.jpg'),
radius: 40,
),
const SizedBox(
width: 10,
),
const Text(
'Vegetable Pizza',
style: TextStyle(
fontSize: 26,
color: Colors.white,
),
)
],
),
),
),
const SizedBox(
height: 20.0,
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20.0),
color: Colors.indigo,
),
width: double.infinity,
height: 100,
child: Row(
// ignore: prefer_const_literals_to_create_immutables
children: [
const CircleAvatar(
backgroundImage: AssetImage('assets/images/img1.jpg'),
radius: 40,
),
const SizedBox(
width: 10,
),
const Text(
'Vegetable Pizza',
style: TextStyle(
fontSize: 26,
color: Colors.white,
),
),
],
),
),
),
],
),
),
bottomNavigationBar: BottomNavigationBar(
backgroundColor: Colors.brown,
// ignore: prefer_const_literals_to_create_immutables
items: [
const BottomNavigationBarItem(
icon: Icon(
Icons.camera,
color: Colors.white,
),
label: 'Camera',
),
const BottomNavigationBarItem(
icon: Icon(Icons.phone, color: Colors.white), label: 'call'),
const BottomNavigationBarItem(
icon: Icon(Icons.chat, color: Colors.white),
label: 'Chats',
),
],
),
),
);
}
}

You might also like