<?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 Saujan Bindukar on Medium]]></title>
        <description><![CDATA[Stories by Saujan Bindukar on Medium]]></description>
        <link>https://medium.com/@saujanbindukar?source=rss-7649eeb42e29------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8p4yC0wn_cdN74CHjHwbTw.jpeg</url>
            <title>Stories by Saujan Bindukar on Medium</title>
            <link>https://medium.com/@saujanbindukar?source=rss-7649eeb42e29------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 22:31:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@saujanbindukar/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[How to Host a Flutter Web App on Firebase (Step-by-Step Guide)]]></title>
            <link>https://saujanbindukar.medium.com/how-to-host-a-flutter-web-app-on-firebase-step-by-step-guide-7a3314a57579?source=rss-7649eeb42e29------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a3314a57579</guid>
            <dc:creator><![CDATA[Saujan Bindukar]]></dc:creator>
            <pubDate>Mon, 16 Jun 2025 15:10:36 GMT</pubDate>
            <atom:updated>2025-06-16T15:10:36.610Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*boty8bokG29rciO4m-1uhA.png" /></figure><p><strong>Want to make your Flutter web app live on the internet in minutes?</strong></p><p>Flutter isn’t just for mobile anymore — with the rise of Flutter Web, building and deploying responsive web apps has never been easier. But once your app is ready, where should you host it?</p><p>This guide will show you exactly how to deploy your Flutter Web app using Firebase Hosting — Google’s fast, secure, and developer-friendly hosting platform.</p><h3>✅ Why Use Firebase Hosting for Flutter Web?</h3><p>Firebase Hosting is a natural fit for Flutter Web apps. Here’s why:</p><ul><li><strong>Free SSL certificate</strong> (HTTPS enabled)</li><li><strong>Global CDN</strong> for fast content delivery</li><li><strong>Custom domains</strong> with easy setup</li><li><strong>One-command deployment</strong></li><li>Works great with <strong>single-page apps</strong> like Flutter Web</li></ul><h3>🧰 Prerequisites</h3><p>Before we dive in, make sure you have:</p><p>✅ A Google account<br> ✅ Flutter installed with web support (flutter doctor confirms it)<br> ✅ Firebase CLI installed (npm install -g firebase-tools)<br> ✅ A Firebase project created at console.firebase.google.com</p><h3>🛠️ Step 1: Build Your Flutter Web App</h3><p>Open your Flutter project and run:</p><pre>flutter build web</pre><p>This will generate a build/web directory containing your compiled web app — static files like HTML, JS, CSS, and assets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GTIkinrikYpg0faXGaD4Ug.png" /></figure><h3>🔧 Step 2: Install and Login to Firebase CLI</h3><p>If you haven’t already, install the Firebase CLI:</p><pre>npm install -g firebase-tools</pre><p>Then log in to your Firebase account:</p><pre>firebase login</pre><h3>📂 Step 3: Initialize Firebase Hosting in Your Project</h3><p>Navigate to your Flutter project’s root directory:</p><pre>cd your_flutter_project/<br>firebase init</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vk2WPV5MbXGDRoLvUh7upA.png" /></figure><p>In the interactive setup:</p><ul><li>Select <strong>Hosting</strong> (and optionally choose other features).</li><li>Choose your Firebase project from the list.</li><li>Set the public directory to: build/web</li><li>Configure as a single-page app? → <strong>Yes</strong></li><li>Overwrite index.html? → <strong>No</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BAbj-WTRpW4nSasS6fxMZg.png" /></figure><p>This will create a firebase.json and .firebaserc file in your project directory.</p><h3>🚀 Step 4: Deploy to Firebase</h3><p>Now it’s time to go live!</p><pre>firebase deploy</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ImLjiGM8S-ZF6VVNfm-h7w.png" /></figure><p>After a few seconds, you’ll get a live URL like:</p><p>✔ Hosting URL: <a href="https://your-project-id.web.app/">https://your-project-id.web.app</a></p><p>Open it up — your Flutter web app is now live!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a3314a57579" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Roadmap to learn Flutter]]></title>
            <link>https://saujanbindukar.medium.com/roadmap-to-learn-flutter-adca1ae29395?source=rss-7649eeb42e29------2</link>
            <guid isPermaLink="false">https://medium.com/p/adca1ae29395</guid>
            <dc:creator><![CDATA[Saujan Bindukar]]></dc:creator>
            <pubDate>Tue, 27 Dec 2022 16:25:08 GMT</pubDate>
            <atom:updated>2022-12-27T16:26:05.106Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g1pFsLIbM-zPb4xXWxIiow.png" /></figure><p>Here is a roadmap that you can follow to learn Flutter:</p><ol><li><strong>Install Flutter:</strong> The first step is to install Flutter on your machine. You can follow the instructions on the official Flutter website (<a href="https://flutter.dev/docs/get-started/install">https://flutter.dev/docs/get-started/install</a>) to install Flutter.</li><li><strong>Learn the basics:</strong> Once you have Flutter installed, the next step is to learn the basics of Flutter. You can start by reading the official Flutter documentation and going through the “Flutter: Getting Started” tutorial (<a href="https://flutter.dev/docs/get-started/codelab">https://flutter.dev/docs/get-started/codelab</a>). This will introduce you to the Flutter framework and teach you how to build your first Flutter app.</li><li><strong>Learn Dart:</strong> Flutter is built using the Dart programming language, so it’s important to have a good understanding of Dart. You can start by reading the official Dart documentation (<a href="https://dart.dev/guides">https://dart.dev/guides</a>) and going through the “Dart for Beginners” tutorial (<a href="https://dart.dev/tutorials/language/dart-for-beginners">https://dart.dev/tutorials/language/dart-for-beginners</a>).</li><li><strong>Build more apps:</strong> Now that you have a good understanding of the basics of Flutter and Dart, the next step is to start building more apps. You can try building some of the apps in the Flutter documentation, or you can try building your own app from scratch. This is a great way to practice what you have learned and solidify your understanding of the Flutter framework.</li><li><strong>Explore more advanced topics: </strong>As you become more comfortable with Flutter, you can start exploring more advanced topics such as state management, custom widgets, and integration with native code. The Flutter documentation has a lot of resources on these topics, and there are also many online resources and tutorials available to help you learn.</li></ol><p>I hope this roadmap helps you get started with learning Flutter. Good luck!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=adca1ae29395" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 Flutter Interview Questions]]></title>
            <link>https://saujanbindukar.medium.com/flutter-interview-questions-df0349864489?source=rss-7649eeb42e29------2</link>
            <guid isPermaLink="false">https://medium.com/p/df0349864489</guid>
            <dc:creator><![CDATA[Saujan Bindukar]]></dc:creator>
            <pubDate>Tue, 27 Dec 2022 15:37:12 GMT</pubDate>
            <atom:updated>2022-12-27T15:44:28.077Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E6NynS2ccZPVevB4QLUdCQ.png" /></figure><p>Here are some potential interview questions related to Flutter, along with example answers:</p><ol><li><strong>What is Flutter and what are its key features?</strong></li></ol><p>Flutter is an open-source mobile app development framework created by Google. It uses the Dart programming language and allows developers to build natively compiled apps for mobile, web, and desktop from a single codebase. Some key features of Flutter include its fast development cycle, expressive and customizable widgets, and built-in testing support.</p><p><strong>2. How does Flutter differ from other mobile app development frameworks?</strong></p><p>One key difference is that Flutter uses a compiled programming language (Dart) rather than an interpreted language like JavaScript. This can result in faster performance and better app stability. Flutter also has a highly customizable widget system and a fast development cycle thanks to hot reload, which allows developers to make changes to the code and see them reflected in the app in real-time.</p><p><strong>3. Can you explain the Flutter widget tree and how it works?</strong></p><p>In Flutter, everything is a widget. The widget tree is the hierarchy of widgets that make up the user interface of a Flutter app. Each widget has its own properties and children, and the tree is built by composing these widgets together. The root widget is the starting point of the tree, and it’s usually a widget like MaterialApp or CupertinoApp that defines the overall structure and theme of the app.</p><p><strong>4. How do you implement user navigation in a Flutter app?</strong></p><p>There are several ways to implement user navigation in a Flutter app. One common approach is to use a Navigator widget, which manages a stack of Route widgets. Each Route represents a screen or page in the app, and the Navigator provides methods for pushing and popping routes to move between screens. Alternatively, you can use a BottomNavigationBar or a Drawer to provide navigation within a single screen.</p><p><strong>5. How do you manage state in a Flutter app?</strong></p><p>State in a Flutter app refers to the data that can change and affect the app’s behavior. There are several ways to manage state in a Flutter app, including using setState within a StatefulWidget, using a Bloc (business logic component) pattern, or using the Provider package. The specific approach will depend on the needs of the app and the preferences of the developer.</p><p><strong>6. Can you describe the process of testing a Flutter app?</strong></p><p>There are several types of tests that can be performed on a Flutter app, including unit tests, widget tests, and integration tests. Unit tests are used to test individual functions or classes, while widget tests allow you to test the behavior of a single widget. Integration tests allow you to test the overall flow and functionality of the app. To run these tests, you can use the flutter test command or a testing framework like flutter_test.</p><p><strong>7. How do you integrate a Flutter app with native code or platforms?</strong></p><p>Flutter provides several ways to integrate with native code or platforms. You can use the MethodChannel class to call native code from Flutter, or the FlutterMethodChannel class to call Flutter code from native code. You can also use platform-specific plugins, which provide access to native features like camera, sensors, and more.</p><p><strong>8. Can you give an example of using Flutter’s layout and styling features to create a responsive design?</strong></p><p>Flutter provides a variety of layout and styling widgets that can be used to create a responsive design. For example, you can use a Column widget to stack widgets vertically, and wrap it in a SingleChildScrollView to make it scrollable. You can also use a LayoutBuilder widget to size and position widgets based on the available space. To style widgets, you can use themes, text styles, and explicit styling attributes.</p><p><strong>9. How do you optimize the performance of a Flutter app?</strong></p><p>There are several ways to optimize the performance of a Flutter app, including:</p><ol><li>Minimizing the number of widgets: Using too many widgets can impact the app’s performance, as each widget requires its own build function to be called. You can optimize the widget tree by using fewer widgets and flattening the hierarchy where possible.</li><li>Using efficient widgets: Some widgets are more efficient than others. For example, the ListView widget is more efficient for displaying large lists of data than using a Column with many children.</li><li>Caching assets: Preloading and caching assets, such as images and fonts, can improve the app’s performance by reducing the need to load them from the network or storage.</li><li>Enabling hardware acceleration: By default, Flutter uses software rendering, which can impact the app’s performance on devices with high-resolution displays. You can enable hardware acceleration by setting the “enable-software-rendering” flag to false in the app’s build configuration.</li><li>Profiling and debugging: You can use the Flutter performance profiling tools, such as the widget inspector and the performance overlay, to identify performance issues and determine where optimization is needed.</li></ol><p>By following these best practices, you can improve the performance of your Flutter app and provide a better user experience.</p><p><strong>10. Can you discuss your experience with Flutter’s hot reload feature and how it has impacted your development workflow?</strong></p><p>Flutter’s hot reload feature allows developers to make changes to their code and instantly see the results in the app, without the need to manually stop and restart the app. This can greatly speed up the development process, as it allows developers to iterate and test changes quickly.</p><p>Hot reload works by replacing the app’s bytecode at runtime, without affecting the app’s state. This means that the app’s variables and objects are preserved, allowing developers to make changes and test them without starting from scratch.</p><p>In terms of workflow, hot reload can help developers move faster and be more productive. It can also reduce the time and effort needed to test and debug code, as developers can make changes and see the results immediately. However, it is important to note that hot reload is not always suitable for all types of changes, and in some cases a full restart of the app may be necessary.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df0349864489" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create Dynamic TextFormFields in Flutter]]></title>
            <link>https://saujanbindukar.medium.com/create-dynamic-textformfields-in-flutter-b3fafc08a900?source=rss-7649eeb42e29------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3fafc08a900</guid>
            <category><![CDATA[textformfield]]></category>
            <category><![CDATA[flutter-widget]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Saujan Bindukar]]></dc:creator>
            <pubDate>Tue, 15 Jun 2021 18:07:20 GMT</pubDate>
            <atom:updated>2021-06-15T18:07:20.576Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Do you want to create multiple text form fields, remove them and retrieve the value from the text form fields?</em></p><p>This article will help you to create multiple TextFormFields, remove them and retrieve the value from TextFormFields.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*BwcXxrN4jv7sNLA_s7wiGw.gif" /></figure><p>Step 1: Create a Flutter Project.</p><p>Step 2: Create a Stateful Widget class.</p><p>Step 3: Inside the stateful widget class, declare the empty list of String.</p><pre>List&lt;String&gt; newTextField = [];</pre><p><em>This is used to store the values of the TextFormFields.</em></p><p>Step 4: Create a TextFormField with a plus icon in a Row.</p><pre>Row(children: [<br>   Expanded(<br>     child: Padding(<br>           padding: const EdgeInsets.all(8.0),<br>                 child: TextFormField(<br>                 decoration:  InputDecoration(<br>               hintText: &#39;First Text field&#39;,))),),<br>   IconButton(<br>     onPressed: () {},<br>     icon: Icon(Icons.add_circle,<br>               color: Colors.green,<br>                size: 30),)<br>               ],<br>),</pre><p>Step 4: Add an empty value in the newTextField list after pressing add icon.</p><pre>onPressed: ()<br> {<br>    setState(() {<br>      newTextField.add(&#39;&#39;);<br>     });<br>},</pre><p><em>Now, What after adding the empty value to the list? Let’s generate the new TextFormFields.</em></p><p>Step 5: Create a method <strong>getNewTextFormFields</strong> to generate the new TextFormField with a remove icon to remove the TextFormField.</p><pre>List&lt;Widget&gt; getNewTextFormFields() {<br>    var textField = &lt;Widget&gt;[];<br>    for (var i = 0; i &lt; newTextField.length; i++) {<br>      textField.add(<br>        Row(<br>          children: [<br>            Expanded(<br>              child: Padding(<br>                padding: const EdgeInsets.all(8.0),<br>                child: TextFormField(<br>                  onChanged: (value) {<br>                    newTextField[i] = value;<br>                  },<br>                  decoration: InputDecoration(<br>                    hintText: &#39;${i + 1} Text field&#39;,<br>                  ),<br>                ),<br>              ),<br>            ),<br>            //Removing the TextFormField<br>            IconButton(<br>              onPressed: () {<br>                setState(() {<br>                  newTextField.removeAt(i);<br>                });<br>              },<br>              icon: Icon(<br>                Icons.remove_circle,<br>                color: Colors.red,<br>                size: 30,<br>              ),<br>            )<br>          ],<br>        ),<br>      );<br>    }<br>    return textField;<br>  }</pre><p><em>Now, we have to display the newly generated widget on the screen.</em></p><p>Step 6: Spread the method getNewTextFormFields() inside the body of stateful widget class.</p><pre>...getNewTextFormFields(),</pre><p>Step 7: Create a button to print the values.</p><pre>///Button to print the values<br>    ElevatedButton(<br>          onPressed: () {<br>             //the valued are displayed in the list<br>               print(newTextField);<br>              },<br>        child: Text(&#39;Submit&#39;),<br>     ),</pre><p><em>Finally, we’ll get the value of each TextFormFields in the form of a list.</em></p><h4>Get the full code snippet from <a href="https://github.com/SaujanBindukar/dynamic-textform-field/blob/master/lib/main.dart"><strong><em>here</em></strong></a>.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3fafc08a900" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>