<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2123039887966471715</id><updated>2024-11-06T08:29:51.890+05:30</updated><category term="Flutter"/><category term="State full"/><category term="Stateless"/><category term="application"/><category term="flutter   programming"/><category term="IOS App"/><category term="android"/><category term="life cycle"/><category term="mobile"/><category term="what is flutter"/><title type='text'>Codingshah</title><subtitle type='html'>This web site giver knowledge  the newly developed programming languages and most demanding programming languages and frame work Which is used in industries to build the application and software.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://codingshah.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2123039887966471715/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://codingshah.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Bhanu</name><uri>http://www.blogger.com/profile/00853231959112958375</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwIzsGWqLFRDtksACiygqKnEgFKj_9Vj_lB7XEs-DZXRKaXj-pnk0dDT6-6VPl98VXB8KEUUk5TzvlA7WSAFnpO1k2lvjijBAGv_P7pCJ5EBpPue-VLX6GqTXnFHYRVw/s220/bhanu.jpeg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2123039887966471715.post-407233781115697818</id><published>2020-07-18T21:48:00.001+05:30</published><updated>2020-07-18T21:48:41.582+05:30</updated><title type='text'>Dis Advatages of Hybrid framework</title><content type='html'>&lt;h1 style=&quot;text-align: left;&quot;&gt;What is Hybrid Framework :&lt;/h1&gt;&lt;div&gt;Hybrid app development framework are the frame work which is use to create app for many platform like android and Ios using single coding language . The Hybrid frame work Create the app Which is close to Native application .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Hybrid Framework are in 2020 :&lt;/h3&gt;&lt;div&gt;1. React Native&lt;/div&gt;&lt;div&gt;2 Flutter&lt;/div&gt;&lt;div&gt;3 Ionic etc.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Advantage of Hybrid Frame work:&lt;/h3&gt;&lt;div&gt;1) fast development&lt;/div&gt;&lt;div&gt;2) high performance&lt;/div&gt;&lt;div&gt;3) easy to handle&lt;/div&gt;&lt;div&gt;4) better Lock and feel&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Disadvantages of Hybrid Framework:&lt;/h3&gt;&lt;div&gt;1) Feature&amp;nbsp;&lt;/div&gt;&lt;div&gt;2) debugging&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://codingshah.blogspot.com/feeds/407233781115697818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codingshah.blogspot.com/2020/07/dis-advatages-of-hybrid-framework.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2123039887966471715/posts/default/407233781115697818'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2123039887966471715/posts/default/407233781115697818'/><link rel='alternate' type='text/html' href='https://codingshah.blogspot.com/2020/07/dis-advatages-of-hybrid-framework.html' title='Dis Advatages of Hybrid framework'/><author><name>Bhanu</name><uri>http://www.blogger.com/profile/00853231959112958375</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwIzsGWqLFRDtksACiygqKnEgFKj_9Vj_lB7XEs-DZXRKaXj-pnk0dDT6-6VPl98VXB8KEUUk5TzvlA7WSAFnpO1k2lvjijBAGv_P7pCJ5EBpPue-VLX6GqTXnFHYRVw/s220/bhanu.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2123039887966471715.post-4810638934492106243</id><published>2020-05-24T14:27:00.005+05:30</published><updated>2020-05-24T14:36:05.038+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="application"/><category scheme="http://www.blogger.com/atom/ns#" term="Flutter"/><title type='text'>USING THEMES TO STYLE YOUR APP</title><content type='html'>&lt;h1 style=&quot;text-align: left;&quot;&gt;USING THEMES TO STYLE YOUR APP&lt;/h1&gt;&lt;div&gt;&lt;div&gt;The theme widgets are a great way to style and define global colors and font styles for your app. There are two ways to use theme widgets—to style the look and feel globally or to style just a portion of the app. For instance, you can use themes to style the color brightness (light text on a dark background or vice versa); the primary and accent colors; the canvas color; and the color of app bars, cards, dividers, selected and unselected options, buttons, hints, errors, text, icons, and so on.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Using a Global App Theme&amp;nbsp;&lt;/h2&gt;&lt;div&gt;When the project is created the default theme color of&amp;nbsp; our application is blue and canvas color is White.&lt;/div&gt;&lt;div&gt;To change the theme of your application we use the &#39;theme&#39; property in material App that is your entry point of your GUI or Application.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;See the Below code to change the of your app:&lt;/div&gt;&lt;div&gt;&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: consolas; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;class &lt;/span&gt;MyApp &lt;span style=&quot;color: #cc7832;&quot;&gt;extends &lt;/span&gt;StatelessWidget {&lt;br /&gt;  &lt;span style=&quot;color: grey;&quot;&gt;// This widget is the root of your application.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #bbb529;&quot;&gt;@override&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #bbb529;&quot;&gt;  &lt;/span&gt;Widget &lt;span style=&quot;color: #ffc66d;&quot;&gt;build&lt;/span&gt;(BuildContext context) {&lt;br /&gt;    &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;MaterialApp&lt;/span&gt;(&lt;br /&gt;      title: &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;Flutter Demo&#39;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;      &lt;/span&gt;theme: &lt;span style=&quot;color: #ffc66d;&quot;&gt;ThemeData&lt;/span&gt;(&lt;br /&gt;       &lt;br /&gt;        primarySwatch: Colors.&lt;span style=&quot;color: #9876aa; font-style: italic;&quot;&gt;deepPurple&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;,//this will change your theme color&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;        &lt;/span&gt;visualDensity: VisualDensity.&lt;span style=&quot;color: #9876aa; font-style: italic;&quot;&gt;adaptivePlatformDensity&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;      &lt;/span&gt;)&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;      &lt;/span&gt;home: &lt;span style=&quot;color: #ffc66d;&quot;&gt;MyHomePage&lt;/span&gt;()&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;    &lt;/span&gt;)&lt;span style=&quot;color: #cc7832;&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;}&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; line-height: 1.5; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCCUkxc-KmvEA0BSyJYopY-z3ZRWHqqQVpjDH7pxWVQDeki9X8vM5u08CO4SUQ4D9QrmWJcND4q_Nxbuso10foZgb5geKeELHgkYJjGOogokOOSq0dtw9b88uAUSyjKDursfgcB7zv9MQ/&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; line-height: 1.5; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4fBvVI9KZwqzH-3Y5NPSLMsEMheYkA8pnsndVO8Vsb5dh4_uCNd-DSHcnZdhx1liRE38qLJWN98Qeiyx5vjzkNU5VkiRxay6AAUN_cMq8JqPKKdJl7LBOahksc6Ug2gGe5-swuSAQsRY/&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Theme change&quot; border=&quot;0&quot; data-original-height=&quot;1480&quot; data-original-width=&quot;720&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4fBvVI9KZwqzH-3Y5NPSLMsEMheYkA8pnsndVO8Vsb5dh4_uCNd-DSHcnZdhx1liRE38qLJWN98Qeiyx5vjzkNU5VkiRxay6AAUN_cMq8JqPKKdJl7LBOahksc6Ug2gGe5-swuSAQsRY/w195-h400/Screenshot_20200524-111549%255B1%255D.jpg&quot; title=&quot;Theme Changing in flutter&quot; width=&quot;195&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; line-height: 1.5; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; line-height: 1.5; text-align: center;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; line-height: 1.5; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; line-height: 1.5; text-align: center;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;If You want to change the color of canvas of your application and change the GUI representation in your application Flutter all so provide the way to change representation of your application.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;To Change your Canvas and representation of your app see the following code:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: consolas; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;class &lt;/span&gt;MyApp &lt;span style=&quot;color: #cc7832;&quot;&gt;extends &lt;/span&gt;StatelessWidget {&lt;br /&gt;  &lt;span style=&quot;color: grey;&quot;&gt;// This widget is the root of your application.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #bbb529;&quot;&gt;@override&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #bbb529;&quot;&gt;  &lt;/span&gt;Widget &lt;span style=&quot;color: #ffc66d;&quot;&gt;build&lt;/span&gt;(BuildContext context) {&lt;br /&gt;    &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;MaterialApp&lt;/span&gt;(&lt;br /&gt;      title: &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;Flutter Demo&#39;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;      &lt;/span&gt;theme: &lt;span style=&quot;color: #ffc66d;&quot;&gt;ThemeData&lt;/span&gt;(&lt;br /&gt;       &lt;br /&gt;        primarySwatch: Colors.&lt;span style=&quot;color: #9876aa; font-style: italic;&quot;&gt;deepPurple&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;        &lt;/span&gt;canvasColor: Colors.&lt;span style=&quot;color: #9876aa; font-style: italic;&quot;&gt;deepPurpleAccent&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;        &lt;/span&gt;platform: TargetPlatform.&lt;span style=&quot;color: #9876aa;&quot;&gt;iOS&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;        &lt;/span&gt;visualDensity: VisualDensity.&lt;span style=&quot;color: #9876aa; font-style: italic;&quot;&gt;adaptivePlatformDensity&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;      &lt;/span&gt;)&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;      &lt;/span&gt;home: &lt;span style=&quot;color: #ffc66d;&quot;&gt;MyHomePage&lt;/span&gt;()&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;    &lt;/span&gt;)&lt;span style=&quot;color: #cc7832;&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;}&lt;/pre&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;This code will Change you application like below:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Before&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;After&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;img alt=&quot;Canvas Demo&quot; border=&quot;0&quot; data-original-height=&quot;1480&quot; data-original-width=&quot;720&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4fBvVI9KZwqzH-3Y5NPSLMsEMheYkA8pnsndVO8Vsb5dh4_uCNd-DSHcnZdhx1liRE38qLJWN98Qeiyx5vjzkNU5VkiRxay6AAUN_cMq8JqPKKdJl7LBOahksc6Ug2gGe5-swuSAQsRY/w195-h400/Screenshot_20200524-111549%255B1%255D.jpg&quot; title=&quot;canvas&quot; width=&quot;195&quot; /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqWBhYtJ-GOTluD6OrCvOMi43v1JzLSD9sBrTD4G7at9MWao2cBo_5C6v9_7W4y61qPXsfM_nOsZBQrJlwKYM-VwJi1psxK_BYGwpnDg9dxI6u8C4_TULQ-yoSaEY4lQZHskWYOxksz20/&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img alt=&quot;Canvas Demo&quot; border=&quot;0&quot; data-original-height=&quot;1480&quot; data-original-width=&quot;720&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqWBhYtJ-GOTluD6OrCvOMi43v1JzLSD9sBrTD4G7at9MWao2cBo_5C6v9_7W4y61qPXsfM_nOsZBQrJlwKYM-VwJi1psxK_BYGwpnDg9dxI6u8C4_TULQ-yoSaEY4lQZHskWYOxksz20/w195-h400/Screenshot_20200524-115657%255B1%255D.jpg&quot; title=&quot;Canvas&quot; width=&quot;195&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;In above code the &quot;TargetPlatform&quot; Property allows you to show the iOS traits on android and vice versa in to the Flutter Application. The TargetPlatform property has five choices they are as follow:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;ol&gt;&lt;li&gt;Android&lt;/li&gt;&lt;li&gt;iOS&lt;/li&gt;&lt;li&gt;Windows&lt;/li&gt;&lt;li&gt;Linux&lt;/li&gt;&lt;li&gt;Fuchsia&lt;/li&gt;&lt;/ol&gt;These Are the operating System.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;If you want to Show the iOS traits in android simply you have to write the &quot;TargetPlateform.iOS&quot;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;this will Show the Bellow result:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX5qwIvBkdug90qSw8faMI9rPtufmzY3gOfoUVG6WvKBBNAlhWqACNKK62mDiZYj9fcOdb-SUZ2qTQlmfQ0SbQbUl5CMwyz772vo9mp_bczZRnT2tfuWlYMI4557wEeZIqf1EIK1ToLwQ/&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;IOS TRAITS&quot; border=&quot;0&quot; data-original-height=&quot;1480&quot; data-original-width=&quot;720&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX5qwIvBkdug90qSw8faMI9rPtufmzY3gOfoUVG6WvKBBNAlhWqACNKK62mDiZYj9fcOdb-SUZ2qTQlmfQ0SbQbUl5CMwyz772vo9mp_bczZRnT2tfuWlYMI4557wEeZIqf1EIK1ToLwQ/w195-h400/Screenshot_20200524-115742%255B1%255D.jpg&quot; title=&quot;iOS traits&quot; width=&quot;195&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; line-height: 1.5; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; line-height: 1.5; text-align: center;&quot;&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Using a Theme for Part of an App&lt;/h2&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; line-height: 1.5; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; line-height: 1.5; text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;In above section we change the primarySwatch color and Canvas color of flutter application.Which affect to all the widget in the application .What if You want to change the only one widget in the application have different color and rest widgets use the default scheme in app.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;To override the app wide theme you can wrap the widgets in a Theme widget. This method will completely override the app ThemeData instance without inheriting any style.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Bellow Sample code show how it&#39;s done:&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: consolas; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;class &lt;/span&gt;MyHomePage &lt;span style=&quot;color: #cc7832;&quot;&gt;extends &lt;/span&gt;StatelessWidget {&lt;br /&gt;  &lt;span style=&quot;color: #bbb529;&quot;&gt;@override&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #bbb529;&quot;&gt;  &lt;/span&gt;Widget &lt;span style=&quot;color: #ffc66d;&quot;&gt;build&lt;/span&gt;(BuildContext context) {&lt;br /&gt;    &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;Scaffold&lt;/span&gt;(&lt;br /&gt;      appBar: &lt;span style=&quot;color: #ffc66d;&quot;&gt;AppBar&lt;/span&gt;(title: &lt;span style=&quot;color: #ffc66d;&quot;&gt;Text&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;DEMO&quot;&lt;/span&gt;)&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;)&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;      &lt;/span&gt;body:  &lt;span style=&quot;color: #ffc66d;&quot;&gt;Center&lt;/span&gt;(  child: &lt;span style=&quot;color: #ffc66d;&quot;&gt;Theme&lt;/span&gt;(    &lt;span style=&quot;color: grey;&quot;&gt;// Unique theme with ThemeData - Overwrite&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;          &lt;/span&gt;data: &lt;span style=&quot;color: #ffc66d;&quot;&gt;ThemeData&lt;/span&gt;(      &lt;br /&gt;            cardColor: Colors.&lt;span style=&quot;color: #9876aa; font-style: italic;&quot;&gt;deepOrange&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;,    &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;          &lt;/span&gt;)&lt;span style=&quot;color: #cc7832;&quot;&gt;,    &lt;/span&gt;child: &lt;span style=&quot;color: #ffc66d;&quot;&gt;Card&lt;/span&gt;(      &lt;br /&gt;        child: &lt;span style=&quot;color: #ffc66d;&quot;&gt;Text&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;Unique ThemeData&#39;&lt;/span&gt;)&lt;span style=&quot;color: #cc7832;&quot;&gt;,    &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;      &lt;/span&gt;)&lt;br /&gt;    )&lt;br /&gt;      )&lt;br /&gt;    )&lt;span style=&quot;color: #cc7832;&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;}&lt;/pre&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&amp;nbsp;Result:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5Kk1yFyPLgCWN9DMh-uawjnmuHCUxMSviS6CRlSrmbKO622hGHugFszPm-BD4TPa8M2AUNYwAfnoPD-uX2F5R6w8NhUMIe3BrTIotKRMg68L93CEjrxjRD2d85WqdKfiUskQ9iRBjv6g/&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;flutter Theme Styling&quot; border=&quot;0&quot; data-original-height=&quot;1480&quot; data-original-width=&quot;720&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5Kk1yFyPLgCWN9DMh-uawjnmuHCUxMSviS6CRlSrmbKO622hGHugFszPm-BD4TPa8M2AUNYwAfnoPD-uX2F5R6w8NhUMIe3BrTIotKRMg68L93CEjrxjRD2d85WqdKfiUskQ9iRBjv6g/w195-h400/Screenshot_20200524-142408%255B1%255D.jpg&quot; title=&quot;Theme Setting&quot; width=&quot;195&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://codingshah.blogspot.com/feeds/4810638934492106243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codingshah.blogspot.com/2020/05/using-themes-to-style-your-app.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2123039887966471715/posts/default/4810638934492106243'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2123039887966471715/posts/default/4810638934492106243'/><link rel='alternate' type='text/html' href='https://codingshah.blogspot.com/2020/05/using-themes-to-style-your-app.html' title='USING THEMES TO STYLE YOUR APP'/><author><name>Bhanu</name><uri>http://www.blogger.com/profile/00853231959112958375</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwIzsGWqLFRDtksACiygqKnEgFKj_9Vj_lB7XEs-DZXRKaXj-pnk0dDT6-6VPl98VXB8KEUUk5TzvlA7WSAFnpO1k2lvjijBAGv_P7pCJ5EBpPue-VLX6GqTXnFHYRVw/s220/bhanu.jpeg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4fBvVI9KZwqzH-3Y5NPSLMsEMheYkA8pnsndVO8Vsb5dh4_uCNd-DSHcnZdhx1liRE38qLJWN98Qeiyx5vjzkNU5VkiRxay6AAUN_cMq8JqPKKdJl7LBOahksc6Ug2gGe5-swuSAQsRY/s72-w195-h400-c/Screenshot_20200524-111549%255B1%255D.jpg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Thane, Maharashtra, India</georss:featurename><georss:point>19.2183307 72.9780897</georss:point><georss:box>-9.0919031361788463 37.8218397 47.528564536178848 108.1343397</georss:box></entry><entry><id>tag:blogger.com,1999:blog-2123039887966471715.post-8853893084950525564</id><published>2020-05-11T01:28:00.001+05:30</published><updated>2020-05-11T01:29:55.525+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Flutter"/><category scheme="http://www.blogger.com/atom/ns#" term="flutter   programming"/><category scheme="http://www.blogger.com/atom/ns#" term="State full"/><category scheme="http://www.blogger.com/atom/ns#" term="Stateless"/><title type='text'>Understanding the widget tree and element tree</title><content type='html'>&lt;h2 style=&quot;text-align: left;&quot;&gt;Understanding the Widget tree and Element tree:&lt;/h2&gt;&lt;h2 style=&quot;line-height: 1.5; text-align: left;&quot;&gt;Widget tree :&lt;/h2&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;Widget tree are the collection of different widgets that are use to build the application. Widget contain the instructions to create the UI and when you compose widgets&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;together they create widget tree.&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;In flutter every thing is widgets mans that when the application is run it call the runApp() method .Basically we taking StatelessWidget as the argument and mounted as root element for the application.Then flutter framework processes through all the widgets and corresponding elements is mounted.&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbTL9o4_G0fsdglgK0OQoeV_RcZuC_gntZS7pQQRc7MEJqNqut1nCI5aZ3Ag-Z_2soi6oF4pC8u-1XifxgCARfqfomMAU3UQxNCxCR1V-d5gcKEF0u71weqZ1ZwAFrILZUVgzZdEqGbDY/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;193&quot; data-original-width=&quot;467&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbTL9o4_G0fsdglgK0OQoeV_RcZuC_gntZS7pQQRc7MEJqNqut1nCI5aZ3Ag-Z_2soi6oF4pC8u-1XifxgCARfqfomMAU3UQxNCxCR1V-d5gcKEF0u71weqZ1ZwAFrILZUVgzZdEqGbDY/s320/TreeandElement.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: consolas, &amp;quot;courier new&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;void&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;main&lt;/span&gt;()&amp;nbsp;=&amp;gt;&amp;nbsp;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;runApp&lt;/span&gt;(&lt;span style=&quot;color: #4ec9b0;&quot;&gt;MyApp&lt;/span&gt;());&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;MyApp&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;StatelessWidget&lt;/span&gt;&amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #6a9955;&quot;&gt;//&amp;nbsp;This&amp;nbsp;widget&amp;nbsp;is&amp;nbsp;the&amp;nbsp;root&amp;nbsp;of&amp;nbsp;your&amp;nbsp;application.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #569cd6;&quot;&gt;@override&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Widget&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;build&lt;/span&gt;(&lt;span style=&quot;color: #4ec9b0;&quot;&gt;BuildContext&lt;/span&gt;&amp;nbsp;context)&amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;MaterialApp&lt;/span&gt;(&lt;/div&gt;&lt;div&gt;                    debugShowCheckedModeBanner:&amp;nbsp;&lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&amp;nbsp;&lt;/div&gt;&lt;div&gt;                        home:&amp;nbsp;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;MainPage&lt;/span&gt;());&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;line-height: 1.5; text-align: left;&quot;&gt;Element tree:&lt;/h2&gt;&lt;div&gt;Element tree are the collection of the child widget like Icons,Text. Element tree are the reference of&amp;nbsp; widget tree.Each element in a element tree is unique.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Stateless Widget and Element tree:&lt;/h2&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;A stateless widget has the configuration to create a stateless element. Each stateless widget has a corresponding stateless element.The Flutter framework calls the createElement method (create an instance), and the stateless element is created and mounted to the element tree. In other&amp;nbsp;words, the Flutter framework makes a request from the widget to create an element and then mounts the element to the element tree.&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;Each element contains a reference back to the widget. The element calls the widget’s build method to check for children widgets, and each child widget (like an Icon or Text) creates its own element and is mounted to the element tree. This process results in two trees: the widget tree and the element tree.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh7BUmZtoI3TS86-BR9jiFocwxbJddT4RnDkKGSrCsyHkkde_r6P9VNB5zsA1XoVRkKgphWym30SYhbEk0uVjmyvwt9uy83P1OP01J6i_IKIZQjykhyDRzHDeq9x6SnOPQfunthcpJ0KA/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;389&quot; data-original-width=&quot;448&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh7BUmZtoI3TS86-BR9jiFocwxbJddT4RnDkKGSrCsyHkkde_r6P9VNB5zsA1XoVRkKgphWym30SYhbEk0uVjmyvwt9uy83P1OP01J6i_IKIZQjykhyDRzHDeq9x6SnOPQfunthcpJ0KA/s320/Stl.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;class JournalList extends StatelessWidget {&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;@override&amp;nbsp; Widget build(BuildContext context) {&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&amp;nbsp; &amp;nbsp; return Row(&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;children: &amp;lt;Widget&amp;gt;[&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Icon(),&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Text(),&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ],&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; );&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&amp;nbsp;} }&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;line-height: 1.5; text-align: left;&quot;&gt;Stateful Widget and Element tree:&lt;/h2&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;A stateful widget has the configuration to create a stateful element. Each stateful widget has a corresponding stateful element. The Flutter framework calls the createElement method to create the stateful element, and the stateful element is mounted to the element tree. Since this is a stateful widget, the stateful element requests that the widget create a state object by calling the StatefulWidget class’s createState method.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;The stateful element now has a reference to the state object and the widget at the given location in the element tree. The stateful element calls the state object widget’s build method to check for child widgets, and each child widget creates its own element and is mounted to the element tree.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;This process results in two trees: the widget tree and the element tree. Note that if a child widget displaying the state (journal note) is a stateless widget like the Text widget, then the element created for this widget is a stateless element.&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;The state object maintains a reference to the widget (StatefulWidget&amp;nbsp;class) and also handles the construction for the Text widget with the latest value.&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3_pY3AmppRcLDM1lZvWVKWPx0FA05C8n7WMe19s94Z_xpd0WEWXTlYwXz15oB22HB3e96bHGFTQ2WgJqGj0SrKC9ITfsav0_mg3nhfsovyhQZIzbcpQYLSclMnZGipuRA4-w2Pf2vJ8U/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;380&quot; data-original-width=&quot;811&quot; height=&quot;188&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3_pY3AmppRcLDM1lZvWVKWPx0FA05C8n7WMe19s94Z_xpd0WEWXTlYwXz15oB22HB3e96bHGFTQ2WgJqGj0SrKC9ITfsav0_mg3nhfsovyhQZIzbcpQYLSclMnZGipuRA4-w2Pf2vJ8U/w400-h188/stf.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://codingshah.blogspot.com/feeds/8853893084950525564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codingshah.blogspot.com/2020/05/understanding-widget-tree-and-element.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2123039887966471715/posts/default/8853893084950525564'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2123039887966471715/posts/default/8853893084950525564'/><link rel='alternate' type='text/html' href='https://codingshah.blogspot.com/2020/05/understanding-widget-tree-and-element.html' title='Understanding the widget tree and element tree'/><author><name>Bhanu</name><uri>http://www.blogger.com/profile/00853231959112958375</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwIzsGWqLFRDtksACiygqKnEgFKj_9Vj_lB7XEs-DZXRKaXj-pnk0dDT6-6VPl98VXB8KEUUk5TzvlA7WSAFnpO1k2lvjijBAGv_P7pCJ5EBpPue-VLX6GqTXnFHYRVw/s220/bhanu.jpeg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbTL9o4_G0fsdglgK0OQoeV_RcZuC_gntZS7pQQRc7MEJqNqut1nCI5aZ3Ag-Z_2soi6oF4pC8u-1XifxgCARfqfomMAU3UQxNCxCR1V-d5gcKEF0u71weqZ1ZwAFrILZUVgzZdEqGbDY/s72-c/TreeandElement.PNG" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Thane, Maharashtra, India</georss:featurename><georss:point>19.2183307 72.9780897</georss:point><georss:box>18.9784242 72.6553662 19.4582372 73.3008132</georss:box></entry><entry><id>tag:blogger.com,1999:blog-2123039887966471715.post-6238157563780307781</id><published>2020-05-08T23:30:00.000+05:30</published><updated>2020-05-08T23:35:08.111+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Flutter"/><category scheme="http://www.blogger.com/atom/ns#" term="life cycle"/><category scheme="http://www.blogger.com/atom/ns#" term="State full"/><category scheme="http://www.blogger.com/atom/ns#" term="Stateless"/><title type='text'>Types of widgets and there Life Cycle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;Types of widgets and there Life Cycle:&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Mainly two type of widgets in flutter using these widgets we can create stunning app.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;The widgets are as follow:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Stateless widgets.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;State full widgets.&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;Stateless widgets:&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Stateless widget are the widgets that do not chance there state like text, image,etc.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;A State less widgets are use when the value not change.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;For example, the screen displays an image with a description and will not change&lt;/span&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFmIJaRKy9ebdwQdakuQ94F7JNnDkTk6WmY1MT8VSLL3HYgI0ebvppDOLi64JqmIGJocVVo0kF33QHcs4_K00N3m8Ow_N88kAeOSs0Tu707qFLrJkYthUbxUBsXyU5DJ9lA0fHfTEKKmU/s1600/Screenshot_20200508-184735%255B1%255D.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1480&quot; data-original-width=&quot;720&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFmIJaRKy9ebdwQdakuQ94F7JNnDkTk6WmY1MT8VSLL3HYgI0ebvppDOLi64JqmIGJocVVo0kF33QHcs4_K00N3m8Ow_N88kAeOSs0Tu707qFLrJkYthUbxUBsXyU5DJ9lA0fHfTEKKmU/s640/Screenshot_20200508-184735%255B1%255D.jpg&quot; width=&quot;310&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
The Basic Structure of Stateless widget is as follow:&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
class JournalList extends StatelessWidget {&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
@override&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Widget build(BuildContext context) {&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&amp;nbsp; return Container(&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
);&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
}&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
}&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;State Full Widget:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
State full widgets is used when Values have to change means it change the State when the certain event is occurred or data receive.The State full widget are dynamic,&amp;nbsp;&lt;span style=&quot;background-color: white; color: #4a4a4a; font-family: &amp;quot;roboto&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;highlighter-rouge&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: &amp;quot;Roboto Mono&amp;quot;, monospace; font-size: 14px; overflow-wrap: break-word;&quot;&gt;Checkbox&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #4a4a4a; font-family: &amp;quot;roboto&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;highlighter-rouge&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: &amp;quot;Roboto Mono&amp;quot;, monospace; font-size: 14px; overflow-wrap: break-word;&quot;&gt;Radio&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #4a4a4a; font-family: &amp;quot;roboto&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;highlighter-rouge&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: &amp;quot;Roboto Mono&amp;quot;, monospace; font-size: 14px; overflow-wrap: break-word;&quot;&gt;Slider&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #4a4a4a; font-family: &amp;quot;roboto&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;highlighter-rouge&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: &amp;quot;Roboto Mono&amp;quot;, monospace; font-size: 14px; overflow-wrap: break-word;&quot;&gt;InkWell&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #4a4a4a; font-family: &amp;quot;roboto&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;highlighter-rouge&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: &amp;quot;Roboto Mono&amp;quot;, monospace; font-size: 14px; overflow-wrap: break-word;&quot;&gt;Form&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #4a4a4a; font-family: &amp;quot;roboto&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;, and&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;highlighter-rouge&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: &amp;quot;Roboto Mono&amp;quot;, monospace; font-size: 14px; overflow-wrap: break-word;&quot;&gt;TextField&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #4a4a4a; font-family: &amp;quot;roboto&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;&amp;nbsp;are examples of stateful widgets. &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #4a4a4a; font-family: &amp;quot;roboto&amp;quot; , sans-serif;&quot;&gt;Stateful widgets subclass&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #4a4a4a; font-family: &amp;quot;roboto&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;highlighter-rouge&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: &amp;quot;Roboto Mono&amp;quot;, monospace; font-size: 14px; overflow-wrap: break-word;&quot;&gt;StatefulWidget.&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code class=&quot;highlighter-rouge&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: &amp;quot;Roboto Mono&amp;quot;, monospace; font-size: 14px; overflow-wrap: break-word;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code class=&quot;highlighter-rouge&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: &amp;quot;Roboto Mono&amp;quot;, monospace; font-size: 14px; overflow-wrap: break-word;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;Before Touch :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlLiBZVS9vIY2WnxRL5-iBw_WUksO3Dbg-ymc2DwmselFEmZIGadSCc3B4MU_gVFZq-5ikEb9CbseopH28SCkKDAAo0hWRzXsCctlSrL5vCLa-X8LCIzkELik2X7JkJPJh-_tvbXBpnFY/s1600/Screenshot_20200508-214946%255B1%255D.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1480&quot; data-original-width=&quot;720&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlLiBZVS9vIY2WnxRL5-iBw_WUksO3Dbg-ymc2DwmselFEmZIGadSCc3B4MU_gVFZq-5ikEb9CbseopH28SCkKDAAo0hWRzXsCctlSrL5vCLa-X8LCIzkELik2X7JkJPJh-_tvbXBpnFY/s320/Screenshot_20200508-214946%255B1%255D.jpg&quot; width=&quot;155&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;roboto mono&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
After Touch:&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_vAJuYtl8_YjSuLDS1DltA00_QDLQE43CAM0t5IFG16oORHgbQ7Q3WcYdZ-xxsUA5CU96-LBsKU2mB5OOkK-mJ95CiCHl68xwrc-kUWtx5eZsnx21NdqYjGkiTta_21wMkbeJSXMAK0Q/s1600/Screenshot_20200508-215159%255B1%255D.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1480&quot; data-original-width=&quot;720&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_vAJuYtl8_YjSuLDS1DltA00_QDLQE43CAM0t5IFG16oORHgbQ7Q3WcYdZ-xxsUA5CU96-LBsKU2mB5OOkK-mJ95CiCHl68xwrc-kUWtx5eZsnx21NdqYjGkiTta_21wMkbeJSXMAK0Q/s320/Screenshot_20200508-215159%255B1%255D.jpg&quot; width=&quot;155&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
The Basic Structure of State Full widget:&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;TapBoxA&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;StatefulWidget&lt;/span&gt;&amp;nbsp;{&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #569cd6;&quot;&gt;@override&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;_TapBoxAState&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;createState&lt;/span&gt;()&amp;nbsp;=&amp;gt;&amp;nbsp;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;_TapBoxAState&lt;/span&gt;();&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;_TapBoxAState&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;State&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;TapBoxA&lt;/span&gt;&amp;gt;&amp;nbsp;{&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #569cd6;&quot;&gt;@override&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Widget&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;build&lt;/span&gt;(&lt;span style=&quot;color: #4ec9b0;&quot;&gt;BuildContext&lt;/span&gt;&amp;nbsp;context)&amp;nbsp;{&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Container&lt;/span&gt;(&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&amp;nbsp;}&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe width=&quot;320&quot; height=&quot;266&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://i.ytimg.com/vi/wE7khGHVkYY/0.jpg&quot; src=&quot;https://www.youtube.com/embed/wE7khGHVkYY?feature=player_embedded&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/h3&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Understanding Widget Life Cycle :&lt;/h3&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;State less widget:&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
State less widget are immutable once drawn function of the state less widget is call only once and no&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
amount of change in any variable values or event can call it again.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
To redraw the State less widget ,we need to create a new instance of the widget.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe width=&quot;320&quot; height=&quot;266&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://i.ytimg.com/vi/pDzQGolJayE/0.jpg&quot; src=&quot;https://www.youtube.com/embed/pDzQGolJayE?feature=player_embedded&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: arial, helvetica, sans-serif; font-size: large;&quot;&gt;State full widget:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;The State full Widget is mutable and it can drawn multiple time in its life time.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_-6SnnlrcUqI5c4wrdSasDocyhZ7H-HNmrv6yQrdwH1bwnPpzByn9uhVRIdmnmoMCL9IB2yst0BN_0slDJYl17MC5IcwJSO2PV8p1Cu6No29IB7FQas3RjxNivKHP0hgv7X9XcSK_pag/s1600/20200508_231914.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1243&quot; data-original-width=&quot;1600&quot; height=&quot;248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_-6SnnlrcUqI5c4wrdSasDocyhZ7H-HNmrv6yQrdwH1bwnPpzByn9uhVRIdmnmoMCL9IB2yst0BN_0slDJYl17MC5IcwJSO2PV8p1Cu6No29IB7FQas3RjxNivKHP0hgv7X9XcSK_pag/s320/20200508_231914.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://codingshah.blogspot.com/feeds/6238157563780307781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codingshah.blogspot.com/2020/05/types-of-widgets-and-there-life-cycle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2123039887966471715/posts/default/6238157563780307781'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2123039887966471715/posts/default/6238157563780307781'/><link rel='alternate' type='text/html' href='https://codingshah.blogspot.com/2020/05/types-of-widgets-and-there-life-cycle.html' title='Types of widgets and there Life Cycle'/><author><name>Bhanu</name><uri>http://www.blogger.com/profile/00853231959112958375</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwIzsGWqLFRDtksACiygqKnEgFKj_9Vj_lB7XEs-DZXRKaXj-pnk0dDT6-6VPl98VXB8KEUUk5TzvlA7WSAFnpO1k2lvjijBAGv_P7pCJ5EBpPue-VLX6GqTXnFHYRVw/s220/bhanu.jpeg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFmIJaRKy9ebdwQdakuQ94F7JNnDkTk6WmY1MT8VSLL3HYgI0ebvppDOLi64JqmIGJocVVo0kF33QHcs4_K00N3m8Ow_N88kAeOSs0Tu707qFLrJkYthUbxUBsXyU5DJ9lA0fHfTEKKmU/s72-c/Screenshot_20200508-184735%255B1%255D.jpg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Thane, Maharashtra, India</georss:featurename><georss:point>19.2183307 72.9780897</georss:point><georss:box>18.9784242 72.6553662 19.4582372 73.3008132</georss:box></entry><entry><id>tag:blogger.com,1999:blog-2123039887966471715.post-6961212147662568288</id><published>2020-03-16T22:46:00.001+05:30</published><updated>2020-05-08T17:43:12.262+05:30</updated><title type='text'>Introduction to Widget in flutter</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
What is widget&#39;s in flutter&lt;/h2&gt;
&lt;div&gt;
Widgets is like small piece of structure or block using this blocks together we create an object and by adding different kind of block and we can alter the look and behavior of the object.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
e.g : like a blue print of house.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://res.cloudinary.com/practicaldev/image/fetch/s--gCy5MuRs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/q0m1c1s77u7uky4zwh2m.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;450&quot; data-original-width=&quot;800&quot; height=&quot;225&quot; src=&quot;https://res.cloudinary.com/practicaldev/image/fetch/s--gCy5MuRs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/q0m1c1s77u7uky4zwh2m.gif&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0r-0OwCdA1iHZ4EmnloOq3ID0sqXg9418NQY-kXSocfQNmfFxOAqCyeAxgpR6hvY99GBmONtSWgrqaCVHsPS-6PJkjzj5bJHs_FlL_-BrDiG7A4E4Dvd7I7HLqyKbOl7D-SRCQEgYg14/s1600/flutter.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;467&quot; data-original-width=&quot;879&quot; height=&quot;340&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0r-0OwCdA1iHZ4EmnloOq3ID0sqXg9418NQY-kXSocfQNmfFxOAqCyeAxgpR6hvY99GBmONtSWgrqaCVHsPS-6PJkjzj5bJHs_FlL_-BrDiG7A4E4Dvd7I7HLqyKbOl7D-SRCQEgYg14/s640/flutter.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://codingshah.blogspot.com/feeds/6961212147662568288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codingshah.blogspot.com/2020/03/introduction-to-widget-in-flutter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2123039887966471715/posts/default/6961212147662568288'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2123039887966471715/posts/default/6961212147662568288'/><link rel='alternate' type='text/html' href='https://codingshah.blogspot.com/2020/03/introduction-to-widget-in-flutter.html' title='Introduction to Widget in flutter'/><author><name>Bhanu</name><uri>http://www.blogger.com/profile/00853231959112958375</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwIzsGWqLFRDtksACiygqKnEgFKj_9Vj_lB7XEs-DZXRKaXj-pnk0dDT6-6VPl98VXB8KEUUk5TzvlA7WSAFnpO1k2lvjijBAGv_P7pCJ5EBpPue-VLX6GqTXnFHYRVw/s220/bhanu.jpeg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0r-0OwCdA1iHZ4EmnloOq3ID0sqXg9418NQY-kXSocfQNmfFxOAqCyeAxgpR6hvY99GBmONtSWgrqaCVHsPS-6PJkjzj5bJHs_FlL_-BrDiG7A4E4Dvd7I7HLqyKbOl7D-SRCQEgYg14/s72-c/flutter.PNG" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Thane, Maharashtra, India</georss:featurename><georss:point>19.2183307 72.9780897</georss:point><georss:box>18.9784242 72.6553662 19.4582372 73.3008132</georss:box></entry><entry><id>tag:blogger.com,1999:blog-2123039887966471715.post-3886154437900551054</id><published>2020-03-11T18:30:00.001+05:30</published><updated>2020-03-11T18:34:12.755+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="application"/><category scheme="http://www.blogger.com/atom/ns#" term="Flutter"/><category scheme="http://www.blogger.com/atom/ns#" term="flutter   programming"/><category scheme="http://www.blogger.com/atom/ns#" term="IOS App"/><category scheme="http://www.blogger.com/atom/ns#" term="mobile"/><category scheme="http://www.blogger.com/atom/ns#" term="what is flutter"/><title type='text'>Introduction to Flutter</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
INTRODUCTION OF FLUTTER&lt;/h2&gt;
&lt;div&gt;
Flutter is introduced in year 2015 Summit under the name Sky The Flutter&amp;nbsp;Flutter is Google’s portable UI framework for building modern, native, and reactive applications for iOS and Android.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The Flutter Framework uses DART Language to build the Application for Android and IOS , Flutter Framework is light and very fast in lunching the application ,The Flutter has many features like Single Code Base Development and run faster etc.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Flutter is fast, and the rendering runs at 60 frames per second (fps) and 120 fps for capable devices. The higher the fps, the smoother the animations and transitions .&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://i.ytimg.com/vi/zmBvPcEjetA/0.jpg&quot; frameborder=&quot;0&quot; height=&quot;266&quot; src=&quot;https://www.youtube.com/embed/zmBvPcEjetA?feature=player_embedded&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://codingshah.blogspot.com/feeds/3886154437900551054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codingshah.blogspot.com/2020/03/introduction-to-flutter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2123039887966471715/posts/default/3886154437900551054'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2123039887966471715/posts/default/3886154437900551054'/><link rel='alternate' type='text/html' href='https://codingshah.blogspot.com/2020/03/introduction-to-flutter.html' title='Introduction to Flutter'/><author><name>Bhanu</name><uri>http://www.blogger.com/profile/00853231959112958375</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwIzsGWqLFRDtksACiygqKnEgFKj_9Vj_lB7XEs-DZXRKaXj-pnk0dDT6-6VPl98VXB8KEUUk5TzvlA7WSAFnpO1k2lvjijBAGv_P7pCJ5EBpPue-VLX6GqTXnFHYRVw/s220/bhanu.jpeg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/zmBvPcEjetA/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>