How to create AppBar using Scaffold Widget

0 votes

Hi Guys,

I have created one simple mobile app using Flutter Framework. In this app, I want to create one AppBar. How can I do that?

Jul 23, 2020 in Others by akhtar
• 38,180 points
94 views

1 answer to this question.

0 votes

Hi@akhtar,

You can use the Scaffold Widget to create an Appbar. The Scaffold is good enough to create a general-purpose AppBar. I have attached one example below for your reference. 

 var myappbar = AppBar(
    title: mytext,
    backgroundColor: Colors.amber,
  );
 var myhome = Scaffold(
    appBar: myappbar,
    backgroundColor: Colors.grey.shade400,
  );
answered Jul 23, 2020 by MD
• 95,220 points

Related Questions In Others

0 votes
1 answer

How to create a container widget in Flutter?

Hi@akhtar, Container means a parent widget that contains ...READ MORE

answered Jul 28, 2020 in Others by MD
• 95,220 points
267 views
0 votes
1 answer

How do I start studying Node.JS to create a restful API?

Node.js is an open source server environment ...READ MORE

answered Jun 10, 2019 in Others by ArchanaNagur
• 2,340 points
203 views
0 votes
0 answers

How to create a batch file in windows?

What is a batch file and How ...READ MORE

Jul 3, 2019 in Others by sindhu
163 views
0 votes
0 answers

How to create a Wordlist generator in Golang?

I want to create a Wordlist Generator ...READ MORE

Jul 13, 2019 in Others by Raj
• 180 points
217 views
0 votes
1 answer

What is the future of flutter?

Hi@MD, Flutter is a rather new cross-platform framework ...READ MORE

answered Jul 17, 2020 in Others by akhtar
• 38,180 points
185 views
0 votes
1 answer

What is Flutter?

Hi@akhtar, Flutter is an app SDK for building ...READ MORE

answered Jul 17, 2020 in Others by MD
• 95,220 points
292 views
0 votes
1 answer

How to install Flutter in Windows system?

Hi@akhtar, You can follow the below-given steps to ...READ MORE

answered Jul 17, 2020 in Others by MD
• 95,220 points
453 views
0 votes
1 answer

How to create subnet inside a VPC in AWS using Terraform?

Hi@akhtar, You need to use aws_subnet resource inside your ...READ MORE

answered Jul 21, 2020 in Others by MD
• 95,220 points
87 views
0 votes
1 answer

How to create a App using Material Design?

Hi@akhtar, You need to use the MaterialApp method ...READ MORE

answered Jul 23, 2020 in Others by MD
• 95,220 points
86 views