{"id":2063,"date":"2022-04-07T14:37:13","date_gmt":"2022-04-07T14:37:13","guid":{"rendered":"https:\/\/mdr.foobrdigital.com\/?p=2063"},"modified":"2022-04-07T14:37:13","modified_gmt":"2022-04-07T14:37:13","slug":"appbar","status":"publish","type":"post","link":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/2022\/04\/07\/appbar\/","title":{"rendered":"AppBar"},"content":{"rendered":"\n<p><strong>1. appBar:<\/strong>\u00a0It is a\u00a0<strong>horizontal bar<\/strong>\u00a0that is mainly displayed at the\u00a0<strong>top<\/strong>\u00a0of the Scaffold widget. It is the main part of the Scaffold widget and displays at the top of the screen. Without this property, the Scaffold widget is incomplete. It uses the appBar widget that itself contains various properties like elevation, title, brightness, etc. See the below example:<a href=\"https:\/\/www.javatpoint.com\/flutter-scaffold#\"><\/a><a href=\"https:\/\/www.javatpoint.com\/flutter-scaffold#\"><\/a><a href=\"https:\/\/www.javatpoint.com\/flutter-scaffold#\"><\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Widget build(BuildContext context)   \n{  \n  return Scaffold(  \n    appBar: AppBar(  \n      title: Text('First Flutter Application'),  \n    ), )  \n}  <\/code><\/pre>\n\n\n\n<p>In the above code, the title property uses a&nbsp;<strong>Text widget<\/strong>&nbsp;for displaying the text on the screen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. appBar:\u00a0It is a\u00a0horizontal bar\u00a0that is mainly displayed at the\u00a0top\u00a0of the Scaffold widget. It is the main part of the Scaffold widget and displays at the top of the screen. Without this property, the Scaffold widget is incomplete. It uses the appBar widget that itself contains various properties like elevation, title, brightness, etc. See the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[305],"tags":[],"_links":{"self":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/2063"}],"collection":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/comments?post=2063"}],"version-history":[{"count":0,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/2063\/revisions"}],"wp:attachment":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/media?parent=2063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/categories?post=2063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/tags?post=2063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}