<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Aman Malhotra on Medium]]></title>
        <description><![CDATA[Stories by Aman Malhotra on Medium]]></description>
        <link>https://medium.com/@official.aman18?source=rss-4ee15f05fd64------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*2s3_OAm2g1ecRcw0acO1xA.png</url>
            <title>Stories by Aman Malhotra on Medium</title>
            <link>https://medium.com/@official.aman18?source=rss-4ee15f05fd64------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 08:33:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@official.aman18/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Animate Any Two Icons like AnimatedIcons]]></title>
            <link>https://medium.com/@official.aman18/animate-any-two-icons-like-animatedicons-6c1d8b942e5a?source=rss-4ee15f05fd64------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c1d8b942e5a</guid>
            <category><![CDATA[package]]></category>
            <category><![CDATA[animated-icon]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[flutter-widget]]></category>
            <category><![CDATA[icons]]></category>
            <dc:creator><![CDATA[Aman Malhotra]]></dc:creator>
            <pubDate>Thu, 25 Jun 2020 21:27:18 GMT</pubDate>
            <atom:updated>2020-06-25T21:27:18.557Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey Futter Dev’s.<br>Have you ever used AnimatedIcons and wanted to use some other custom Icons kinda do the same thing?<br>If yes, than you must know that when it comes to AnimatedIcons we dont much options rather than the ususal ones that are given to us.<br>If no, than dont worry you’ll see how it is in just about a minute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*iwwZJ-UKzGazu3SSScvutQ.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*E87Yg9u24R3-oI_ylP7_MQ.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/1*ib67rEnvh1gaEsG0vtmiqQ.gif" /></figure><p>So, I have an app and I want to have a night mode option. How should I go about it?<br>Like the ususal way ? <br>Open a popup let the user choose b/w Light and Dark mode ?<br>No wait, I have <a href="https://pub.dev/packages/animate_icons"><strong>AnimateIcons</strong></a> package for that.<br>We give the user a small handy icon somewhere in the drawer or bottom of the settings page so that with a single click they can toggle b/w light and dark mode.</p><p>Lets see how we do that. Its very very simple. One Package, one Widget and thats all you need.<br>So lets see how we’ll do that.</p><h4><a href="https://pub.dev/packages/animate_icons">Check out here to see some demos:</a></h4><p>Import package in pubspec.yaml<br><strong>animate_icons:</strong></p><p>Make the import in your widget class <strong><br>import ‘package:animate_icons/animate_icons.dart’;</strong></p><pre>AnimateIcons(<br>    startIcon: Icons.<a href="https://api.flutter.dev/flutter/material/Icons/brightness_2-constant.html">brightness_2</a>,<br>    endIcon: Icons.<a href="https://api.flutter.dev/flutter/material/Icons/brightness_high-constant.html">brightness_high</a>,<br>    size: 60.0,<br>    onStartIconPress: () {<br>        // function call to change to dark mode <br>    },<br>    onEndIconPress: () {<br>        // function call to change to light mode<br>    },<br>    duration: Duration(milliseconds: 600),<br>    color: Colors.grey,<br>    clockwise: false,<br>),</pre><p>This is all you need and it’ll animate the icons like AnimatedIcons and you have in a compact single widget embedded theme functionalities.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c1d8b942e5a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automate Flutter Provider Model File Creation]]></title>
            <link>https://medium.com/@official.aman18/automate-flutter-provider-model-file-creation-7421b8ea9518?source=rss-4ee15f05fd64------2</link>
            <guid isPermaLink="false">https://medium.com/p/7421b8ea9518</guid>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[flutter-widget]]></category>
            <category><![CDATA[provider]]></category>
            <category><![CDATA[state-management]]></category>
            <dc:creator><![CDATA[Aman Malhotra]]></dc:creator>
            <pubDate>Tue, 28 Apr 2020 09:38:29 GMT</pubDate>
            <atom:updated>2020-04-28T09:38:29.677Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey Readers, <br>I am excited to share with you this awesome script that’ll automate provider model file creation for you. Since a few months now I have been using Provider Model for state management in Flutter and it has been great.</p><p>For people who have been using it know sometimes when we have to lay out the basic structure of the app, we have to make a lot of files both for widgets and provider Models, then comes the linking part(object creation for provider model inside widget class) and then actually wrapping it with ChangeNotifierProvider so that it can be used as a child of another widget.</p><p>I saw myself going through that hassle again and again whenever building an app from scratch. So I built this script that will automate all that process for you. You dont have to create any file but just give the name of the widget that you are building. Eg — dashboard, signUp, signIn, profilePage, paymentPortal, settings, etc.</p><p>All you need to do is:<br><strong>1. Go inside your Flutter project root location in the Terminal.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KP4xqa8VRcLCgSklz_eT8g.jpeg" /></figure><p><strong>2. Run the script using this command </strong><br><em>source &lt;(curl -s </em><a href="https://providermodelflutterscript.web.app/"><em>https://providermodelflutterscript.web.app/</em></a><em>)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e5Et5bOGidFtacZX11FETg.png" /><figcaption>Run the script</figcaption></figure><p><strong>3. Give location of the project (If you skipped step 1.)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*l5-b31ihzdADbLotcqZf3A.png" /><figcaption>Give location of the project or if you are already in the root folder of the project type ‘y’ and press Enter.</figcaption></figure><p><strong>4. Give the name of the Widget.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*Hnjq9WHrFoc0mHD6CnAYSA.png" /><figcaption>Name your widget</figcaption></figure><p><strong>5. Choose if you want a stateful or stateless Widget.</strong> Or you can just press Enter without giving any option to go with the <strong><em>default one i.e StatelessWidget.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*k1MPqRXovjlRGO4zjjuT_Q.png" /><figcaption>Choose Stateful or Stateless Widget</figcaption></figure><p>That is all what you needed to do and the following files will be added to your project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/354/1*K9w_Ibwiw6LlrFx0ywiXEA.png" /><figcaption>Provdider Model file</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*sKjK9NU3__PXudvYGA9oIA.png" /><figcaption>signIn_pm.dart (Provider Model file cteated)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/367/1*fnrwpRtTZDziAI1dpeTtZg.png" /><figcaption>Widget File</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*5AZRGzJ4AMhUknnHHaazCQ.png" /><figcaption>signIn.dart (StatefulWidget file)</figcaption></figure><p><strong>Note — </strong>Inside ‘<em>&lt;widget&gt;.dart’</em> (in above case signIn.dart) file that will be created automatically, you will be provided with the code to be used as a child where you want to use this <em>&lt;widget&gt;.<br></em>****In the above image see<strong> <em>Line №6</em> —</strong> You have to copy and paste that as a child where you want to use this SignIn Widget****</p><p><strong>6. You’ll be asked if you want to add more files or not.</strong> <br><em>If you want to add more files </em>— Type ‘y’ and press Enter .Repeat Steps from Step4.<br><em>If you do not want to add more files</em> — Type ‘n’ and press Enter.</p><p>You can add as many files as you want using the script and it’ll be the easiest thing to use. <br>You can also check this <a href="https://github.com/Aman-Malhotra/ProviderModelFlutterScript">Github Link</a> for the documentation of the script and how to use it. <br><a href="https://github.com/Aman-Malhotra/ProviderModelFlutterScript"><strong>https://github.com/Aman-Malhotra/ProviderModelFlutterScript</strong></a></p><p>This is the first beta version release, so any Pull Request for bug fixes(if any) and Feature add-ons are welcome. <br>If that script helped you and saved your time make sure you dont forget to give the repository a Star.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7421b8ea9518" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Curious to design your own app? Let’s make your way easy with FLUTTER.]]></title>
            <link>https://medium.com/eduwaivefoundation/curious-to-design-your-own-app-lets-make-your-way-easy-with-flutter-bc5859575571?source=rss-4ee15f05fd64------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc5859575571</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Aman Malhotra]]></dc:creator>
            <pubDate>Fri, 19 Jul 2019 13:04:47 GMT</pubDate>
            <atom:updated>2019-07-19T13:04:47.224Z</atom:updated>
            <content:encoded><![CDATA[<p>Flutter, an open source SDK for mobile app development, most of you might have heard about it somewhere. I came to know about it in May of 2018. I had an interest in developing android apps but I wasnt that expert in that even though I had a little experience in it but i wanted to be good at it. So II tried flutter back then. I had my college holidays so I spent my 2 months learning and working on flutter. I started liking it a lot and then went on to explore more of it and go in details of it all. Learning flutter was a great experience for me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/0*NIcBJhY-Ai662tXF" /></figure><p>Flutter is a technology that has made building mobile apps so easy for developers that most of the companies these days have started building their apps in it and already some huge companies like Alibaba, Hamilton Musical, Abbey Road Studio and many more have already had their apps in flutter that are published on play store.</p><p>After a little experience in flutter, i mean after I was done playing around with it, I thought of making my own app — and so I did. I was making it alone so it took some time as it’ll take a starter to make something from scratch but there i was after 3–4 months with my app ready, working like 3–4 hours a week, and I was excited to publish it on play store after it completed.</p><p><strong>LET’S LEARN FLUTTER WITH MY FLUTTER STORY!</strong></p><p>So, I started with an offline music player. Even though i knew it wont do great there, I still knew it made me learn a lot of things that I never could without starting that app alone. So there I was with my app published on play store, my friends did say it was great .</p><p>I still have <strong>5⭐</strong> rating for that app with almost 30 ratings. But the download response was as expected, I mean who listens to offline music these days ?? Even I don’t do that. So even if it didn’t have that good of a response,I am happy I spent that much time working on it.</p><p>After this I made a few plugins online for flutter, started contributing to online open source projects on Flutter and then in the month of January a company named Packt Publishing approached me and they asked me to make a course on flutter. So you see I benefited from working on that app. So i made that course in about 2 months. And now that course is live on many websites including Udemy, PacktPub, etc.</p><p>The link for Udemy is here — <a href="https://www.udemy.com/flutter-in-7-days/">https://www.udemy.com/flutter-in-7-days/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XhhA4km1NlCznwfI" /></figure><p>So this was the backstory I wanted to mention before I tell you why flutter ??</p><p>Flutter is first of all very easy to use and you can build both android and IOS apps with a single code base.</p><p>It has a very easy learning curve for someone who has prior knowledge in any OOPLanguage before. It uses a language called DART. If you are new to flutter you might have not heard that language before…</p><p>Don’t worry, you don’t need any extra coaching for that.</p><p>You have any prior experience in any language ??</p><p>If yes then you are good to go… Start playing around with it and you’ll start grasping everything very soon.</p><p>If no, then you need to learn a bit before. Maybe any language. Basics I mean that’ll be all. After that you can go and start working on a basic project and rest you can learn along the way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/244/0*ZwcgajYjqzpOnEhH" /></figure><p>Flutter provides a lot of features that make the development so easy..</p><p>The one of them being hot reload. What does that even mean you’ll ask… lemme tell.</p><p>We make a change to the code, we don’t have to recompile the whole app to make that change show up on the app while developing it, just change the code press a single button and then depending on your operating system, within a couple of seconds or maybe even milliseconds your changes will reflect in your app also your state is saved as well which means your app will not change the state in which it was before reloading, with the new changes added.</p><p>So what next ?? except that.</p><p>The native look and feel for the app in both IOS and Android stays as you’ld want to have and it provides you classes for a lot of predefined material widgets that you can use right away.</p><p>Lemme tell you what I mean when I use the word Widget.</p><p>Anyone having prior experience in android development ??</p><p>If yes then you’ll know that u call everything a view.</p><p>Just like that in flutter everything is a widget. Starting from a small button or text to a full app. Anything that you see and interact with, on the app is a widget in flutter.</p><p>I’ve had a great experience working with flutter and presently using it in the innovation of an app in EDUWAIVE FOUNDATION.</p><p>I recommend you all to try that once for sure so that you can see how efficient and easy it is to use…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc5859575571" width="1" height="1" alt=""><hr><p><a href="https://medium.com/eduwaivefoundation/curious-to-design-your-own-app-lets-make-your-way-easy-with-flutter-bc5859575571">Curious to design your own app? Let’s make your way easy with FLUTTER.</a> was originally published in <a href="https://medium.com/eduwaivefoundation">eduwaivefoundation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>