<?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 Raksha Goswami on Medium]]></title>
        <description><![CDATA[Stories by Raksha Goswami on Medium]]></description>
        <link>https://medium.com/@raksha_goswami?source=rss-6c890734068d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*fGjcuLISqDdEAiAz</url>
            <title>Stories by Raksha Goswami on Medium</title>
            <link>https://medium.com/@raksha_goswami?source=rss-6c890734068d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 16:17:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@raksha_goswami/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[Bloc V/S Cubit In Flutter Application]]></title>
            <link>https://medium.flutterdevs.com/bloc-v-s-cubit-in-flutter-application-6caa2825b26a?source=rss-6c890734068d------2</link>
            <guid isPermaLink="false">https://medium.com/p/6caa2825b26a</guid>
            <category><![CDATA[bloc]]></category>
            <category><![CDATA[cubit]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[state-management]]></category>
            <dc:creator><![CDATA[Raksha Goswami]]></dc:creator>
            <pubDate>Fri, 17 Feb 2023 11:33:31 GMT</pubDate>
            <atom:updated>2024-03-20T10:45:47.346Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>Bloc stands for </em><strong><em>Business Logic Components</em></strong><em>; it aims to separate the application’s business logic from User Interface, making the application code more unambiguous, scalable, and testable.</em></h4><figure><a href="https://flutterexperts.com/bloc-v-s-cubit-in-flutter-application/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CpC7S8xb5NQIMyfo-upAIg.png" /></a><figcaption>Bloc V/S Cubit In Flutter Application</figcaption></figure><p>Hello Everyone!!! Today we learn about <strong>Bloc V/S Cubit In Flutter Application</strong>. In this article, we cover the topics like what is bloc. , what is a cubit and what’s the difference between a bloc and a cubit?</p><p>If you’re looking for the best <a href="https://flutterdevs.com/"><strong>flutter app development company</strong></a> for your mobile application then feel free to contact us at — <a href="/service/mailto:support@flutterdevs.com"><strong>support@flutterdevs.com</strong></a>.</p><blockquote><em>Table Of Contents</em></blockquote><blockquote><em>What is Bloc?</em></blockquote><blockquote><em>What is Cubit?</em></blockquote><blockquote><em>Bloc VS Cubit</em></blockquote><blockquote><em>Add Dependency</em></blockquote><blockquote><em>Implementation</em></blockquote><blockquote><em>Conclusion</em></blockquote><blockquote><em>GitHub Link</em></blockquote><blockquote><em>Read my other blogs</em></blockquote><h3>What is Bloc?</h3><p><strong>Flutter </strong>Bloc is one of the state management in a flutter. We can use it to handle all the states which we want to perform in our flutter applications.</p><p>Bloc is the best and simple way to do state management. We can easily add any type of change to the Flutter application. You can easily learn the concept, no matter what’s your level. You can add this dependency to your project and use it.</p><p>Bloc is a design pattern created by Google to help separate business logic from the award layer and authorize a developer to exploit code more efficiently.</p><p>A state management library called Bloc was created and maintained by Felix Angelo. It assists developers utensil the Bloc design pattern in their Flutter application. It means that a developer must recognize the state of an app at some time. There should be something on the screen for every interplay with the app to let users know what the incident is incident.</p><h3>what is a Cubit?</h3><p>Cubit is a minimal version or a subset of the BLoC design pattern that simplifies the way we manage the state of an application. To do so, it substitutes the use of events (used in Bloc) with functions that <strong>rebuild the UI by emitting different states on a stream.</strong></p><p>A Cubit is similar to Bloc but has no notion of events and relies on methods to emit new states. Every Cubit requires an initial state which will be the state of the Cubit before emit has been called. The current state of a Cubit can be accessed via the state-getter.</p><h3>Bloc VS Cubit:</h3><p><strong>The only difference is in the syntax of emitting state</strong>. Where Cubit uses emit(event) syntax, State Notifier uses state = event. Bloc on the other hand relies on events instead of functions to get feedback from UI to Cubit. The major difference between Bloc and Cubit is, “Bloc is Event-Driven and Cubit is not Event-Driven”. In Bloc, we can override “onTransition” and check how these events are coming and how these states change. And in Cubit, we call functions to send these states, with the help of these functions we can track the state. We use the “onChnaged” function in Cubit.</p><h4>Note: You can read the full blog <a href="https://flutterexperts.com/bloc-v-s-cubit-in-flutter-application/">here</a>.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6caa2825b26a" width="1" height="1" alt=""><hr><p><a href="https://medium.flutterdevs.com/bloc-v-s-cubit-in-flutter-application-6caa2825b26a">Bloc V/S Cubit In Flutter Application</a> was originally published in <a href="https://medium.flutterdevs.com/">FlutterDevs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Navigate With GoRouter In Flutter]]></title>
            <link>https://medium.flutterdevs.com/navigate-with-gorouter-in-flutter-4a135f813d98?source=rss-6c890734068d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a135f813d98</guid>
            <category><![CDATA[router]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <dc:creator><![CDATA[Raksha Goswami]]></dc:creator>
            <pubDate>Thu, 19 Jan 2023 11:39:03 GMT</pubDate>
            <atom:updated>2024-03-21T08:56:31.558Z</atom:updated>
            <content:encoded><![CDATA[<figure><a href="https://flutterexperts.com/navigate-with-gorouter-in-flutter/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AfFRvwa6m-jdmPJ7v5FHvw.png" /></a><figcaption>Navigate With GoRouter In Flutter</figcaption></figure><p>A declarative routing package for Flutter that uses the Router API to provide a convenient, URL-based API for navigating between different screens.</p><h3>Table Of Content</h3><blockquote><em>Introduction</em></blockquote><blockquote><em>Add Dependency</em></blockquote><blockquote><em>Features</em></blockquote><blockquote><em>Implementation</em></blockquote><blockquote><em>Conclusion</em></blockquote><blockquote><em>GitHub Link</em></blockquote><blockquote><em>Read my other blog</em></blockquote><h3>Introduction:</h3><p>The goal of the go_router package is to simplify the use of the Router in Flutter as specified by the MaterialApp.router constructor. By default, it requires an implementation of the Router Delegate and Route Information Parser classes. These two implementations themselves imply the definition of a custom type to hold the app state that drives the creation of the Navigator. You can read an excellent blog post on these requirements on Medium. This separation of responsibilities allows the Flutter developer to implement several routing and navigation policies at the cost of complexity.</p><h3>Add Dependency:</h3><p>Open the terminal in your Flutter project. Then run the following command to install the go_router package in your Flutter Project.</p><pre>$ flutter pub add go_router</pre><p>or you will add this line to your package’s pubspec. ymal file and run “flutter pub get”</p><pre>dependencies:<br>  go_router: ^6.0.1</pre><h3>Features:</h3><blockquote><em>GoRouter has many features:-</em></blockquote><ul><li><strong>&gt; </strong>Parsing path and query parameters using a template syntax (for example, “user/:id’).</li><li><strong>&gt; </strong>Displaying multiple screens for a destination (sub-routes).</li><li><strong>&gt;</strong> Redirection support — you can re-route the user to a different URL based on application state, for example to a sign-in when the user is not authenticated.</li><li><strong>&gt;</strong> Backwards compatibility with Navigator API</li><li><strong>&gt;</strong> Support for both Material and Cupertino apps</li></ul><h4>Note: You can read the full blog <a href="https://flutterexperts.com/navigate-with-gorouter-in-flutter/">here</a>.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a135f813d98" width="1" height="1" alt=""><hr><p><a href="https://medium.flutterdevs.com/navigate-with-gorouter-in-flutter-4a135f813d98">Navigate With GoRouter In Flutter</a> was originally published in <a href="https://medium.flutterdevs.com/">FlutterDevs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter Quill: Rich Text Editor In Flutter Application]]></title>
            <link>https://medium.flutterdevs.com/flutter-quill-rich-text-editor-in-flutter-application-e801b0f21248?source=rss-6c890734068d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e801b0f21248</guid>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[flutter-widget]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[rich-text-editor]]></category>
            <dc:creator><![CDATA[Raksha Goswami]]></dc:creator>
            <pubDate>Tue, 03 Jan 2023 11:44:19 GMT</pubDate>
            <atom:updated>2024-03-26T08:39:16.084Z</atom:updated>
            <content:encoded><![CDATA[<figure><a href="https://flutterexperts.com/flutter-quill-rich-text-editor-in-flutter-application/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cwU2QwD0-V0yZga-zQGf_w.png" /></a><figcaption>Flutter Quill: Rich Text Editor In Flutter Application</figcaption></figure><p>Hello Everyone…!!!!. Today we start with an interesting topic that is used for rich text. Flutter Quill is a rich text editor and also a Quill component for Flutter.</p><h3><em>Table Of Content</em></h3><blockquote><em>Introduction</em></blockquote><blockquote><em>Add Dependency</em></blockquote><blockquote><em>Configuration</em></blockquote><blockquote><em>Implementation</em></blockquote><blockquote><em>Conclusion</em></blockquote><blockquote><em>GitHub Link</em></blockquote><blockquote><em>Read my other blog</em></blockquote><h3><em>Introduction:</em></h3><p>FlutterQuill is a rich text editor and a Quill component for Flutter. This library is a WYSIWYG editor built for the modern mobile platform, with web compatibility under development. This dependency is very useful for any editor app. We don’t need any other side for code for any texting editor.</p><h3><em>Add Dependency:</em></h3><p>To add the dependency first you have open pubspec. ymal file and then add some dependencies,</p><pre>dependencies:<br>  flutter:<br>    sdk: flutter<br>  cupertino_icons: ^1.0.2<br>  flutter_quill: ^6.1.6</pre><p>We have to add the updated package of flutter_quill. Which is used as a Rich Text Editor in a flutter.</p><h3>Configuration:</h3><p>The Quill Toolbar class lets you customize which formatting options are available.</p><p><strong>&gt; Font Size:- </strong>Within the editor toolbar, a drop-down with font-sizing capabilities is available. This can be enabled or disabled with showFontSize. When enabled, the default font-size values can be modified via <em>optional </em>fontSizeValues. FontSizeValues accepts a Map&lt;String, String&gt; consisting of a String title for the font size and a String value for the font size. Example:</p><pre>fontSizeValues:  const {&#39;Small&#39;: &#39;7&#39;, &#39;Medium&#39;: &#39;20.5&#39;, &#39;Large&#39;: &#39;40&#39;},</pre><p><strong>&gt;Font Family:- </strong>If you want to use the font family, you have to add the family to the assets folder and pass in fontfamilyValues.</p><p><strong>&gt;Custom Buttons:-</strong> You may add custom buttons to the <em>end</em> of the toolbar, via the custom buttons option, which is a List of QuillCustomButton.</p><pre>QuillCustomButton(<br>        icon:Icons.ac_unit,<br>        onTap: () {<br>          debugPrint(&#39;snowflake&#39;);<br>        }</pre><p><strong>&gt;showAlignmentButtons:- </strong>In showAlignmentButtons, we have many properties like controller, iconSize, iconTheme, showLeftAlignment, showCenterAlignment, showRightAlignment, showJustifyAlignment, afterButtonPressed.</p><p><strong>&gt;Translation:-</strong> The package offers translations for the quill toolbar and editor, it will follow the system locale unless you set your own locale with:</p><pre>QuillToolbar(locale: Locale(&#39;fr&#39;), ...)<br>QuillEditor(locale: Locale(&#39;fr&#39;), ...)</pre><h4>Note: You can read the full blog <a href="https://flutterexperts.com/flutter-quill-rich-text-editor-in-flutter-application/">here</a>.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e801b0f21248" width="1" height="1" alt=""><hr><p><a href="https://medium.flutterdevs.com/flutter-quill-rich-text-editor-in-flutter-application-e801b0f21248">Flutter Quill: Rich Text Editor In Flutter Application</a> was originally published in <a href="https://medium.flutterdevs.com/">FlutterDevs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Retrofit Implementation In Flutter]]></title>
            <link>https://medium.flutterdevs.com/retrofit-implementation-in-flutter-4c73a90c45dc?source=rss-6c890734068d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c73a90c45dc</guid>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[state-management]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[retrofit]]></category>
            <dc:creator><![CDATA[Raksha Goswami]]></dc:creator>
            <pubDate>Tue, 20 Dec 2022 11:39:40 GMT</pubDate>
            <atom:updated>2024-03-26T10:02:15.497Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U0POy8hARJEjRUwx_Py-sA.png" /><figcaption><em>Retrofit Implementation In Flutter</em></figcaption></figure><p><strong>Hello </strong>Everyone..!!!! Today we are learning about Retrofit In Flutter. In any mobile application, communication with the server to fetch the data or send the data to the server via API is a basic need in Retrofit.dart is a type conversion dio client generator using source_gen and inspired by Chopper and Retrofit.</p><blockquote><em>T</em><strong>able Of Contents</strong></blockquote><blockquote><em>Introduction</em></blockquote><blockquote><em>Add Dependency</em></blockquote><blockquote><em>Implementation</em></blockquote><blockquote><em>Conclusion</em></blockquote><blockquote><em>GitHub Link</em></blockquote><blockquote><em>Read my other blog</em></blockquote><figure><a href="https://flutterexperts.com/retrofit-implementation-in-flutter/"><img alt="" src="https://cdn-images-1.medium.com/max/480/0*J83HKHHXiY-2J6Ms" /></a></figure><h3><strong>Introduction</strong>:-</h3><p>Retrofit is <strong>a Dio client that makes consuming Rest APIs easier for us</strong>. Build runner is used for code generation in Dart, apart from the pub. JSON Serialization creates a model class from JSON data.</p><p>Almost in every Android and IOS, we have to use Rest API and Retrofit is best to arrange the API properly. For fetching the API we can also use many libraries but Retrofit is easy to use and has clean code.</p><h3><strong>Add Dependency:-</strong></h3><p>To add the dependency first you have open pubspec.ymal file and then add some dependencies,</p><pre>cupertino_icons: ^1.0.2<br>  retrofit: ^3.3.1<br>  json_annotation: ^4.7.0<br><br>dev_dependencies:<br>  flutter_test:<br>    sdk: flutter<br>   : ^2.3.2<br>  retrofit_generator: ^4.2.0</pre><p>we add <a href="https://pub.dev/packages/retrofit">retrofit</a>, <a href="https://pub.dev/packages/json_annotation">json_annotation</a>, <a href="https://pub.dev/packages/build_runner">build_runner</a>, and <a href="https://pub.dev/packages/retrofit_generator">retrofit_generator</a>. Retrofit is a dio client generator using source_gen, inspired by Chopper and Retrofit. JSON annotation is used to create code for JSON serialization and deserialization. Build Runner is the build system for Dart code generation and modular compilation. Retrofit Generator is a dio client generator using source_gen, inspired by Chopper and Retrofit.</p><h3><em>Implementation:-</em></h3><p>Welcome to my blog… Now we start the application, by creating a new flutter application. First, we have to create an abstract API request class.</p><pre>@RestApi(baseUrl: &quot;http://www.json-generator.com/api/json/get/&quot;)<br>abstract class RestClient {<br>  factory RestClient(Dio dio) = _RestClient;<br>  @GET(&quot;/ceLGCumWjS?indent=2&quot;)<br>  Future&lt;List&lt;Post&gt;&gt; getTasks();<br>}</pre><p>In this, we define baseUrl and then create a Rest-client abstract class in which we create _restclient which is dio type, and then use get because we use get API and call the list of API. <strong>RestClient </strong>class is responsible for handling all the network call methods. In the above code, it will show an error on the <strong>_RestClient </strong>variable, which will be resolved with steps we see later on in this post.</p><h4>Note: You can read the full blog <a href="https://flutterexperts.com/retrofit-implementation-in-flutter/">here</a>.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c73a90c45dc" width="1" height="1" alt=""><hr><p><a href="https://medium.flutterdevs.com/retrofit-implementation-in-flutter-4c73a90c45dc">Retrofit Implementation In Flutter</a> was originally published in <a href="https://medium.flutterdevs.com/">FlutterDevs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter PageView Widget]]></title>
            <link>https://medium.flutterdevs.com/flutter-pageview-widget-d85e0aa1b32e?source=rss-6c890734068d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d85e0aa1b32e</guid>
            <category><![CDATA[page-views]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[flutter-widget]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Raksha Goswami]]></dc:creator>
            <pubDate>Wed, 19 Oct 2022 11:42:49 GMT</pubDate>
            <atom:updated>2024-03-29T09:29:15.398Z</atom:updated>
            <content:encoded><![CDATA[<figure><a href="https://flutterexperts.com/flutter-pageview-widget/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dgc7zBZJnDH1Guu8_lb_XA.png" /></a><figcaption>Flutter PageView Widget</figcaption></figure><p>The <strong>PageView widget </strong>allows the user to transition between different screens in their flutter application. All you need to set it up are a PageViewController and a PageView.</p><blockquote><em>Table Of Contents</em></blockquote><blockquote><em>Introduction</em></blockquote><blockquote><em>Properties</em></blockquote><blockquote><em>Implementation</em></blockquote><blockquote><em>Conclusion</em></blockquote><blockquote><em>GitHub Link</em></blockquote><blockquote><em>Read my other blogs</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*fYN17M9OYRfDATdd.gif" /></figure><h3>Introduction:</h3><p>A page view is a simple way to swipe the pages in the flutter application. It works in both horizontal and vertical ways. A PageView is <strong>a widget that generates the pages of the screen that are scrollable</strong>. The pages can be fixed or repeated pages that are built by the builder function. PageView behaves like ListView in constructing the elements.</p><h3>Properties of PageView:</h3><p><strong>&gt; allowImplicitScrolling:- </strong>This property takes in a <em>boolean </em>value as the object. It controls whether to allocate implicit scrolling to the widget’s page.</p><p><strong>Implementation</strong></p><pre><strong>final</strong> bool allowImplicitScrolling;</pre><p>&gt; <strong>childrenDelegate:- </strong>A delegate that provides the children for the PageView.</p><p><strong>Implementation</strong></p><pre><strong>final</strong> SliverChildDelegate childrenDelegate;</pre><p>&gt; <strong>clipBehavior:- </strong>The content will be clipped (or not) according to this option.</p><p><strong>Implementation</strong></p><pre><strong>final</strong> Clip clipBehavior;</pre><p>&gt; <strong>controller:- </strong>An object that can be used to control the position to which this page view is scrolled.</p><p><strong>Implementation</strong></p><pre><strong>final</strong> PageController controller;</pre><p>&gt; <strong>dragStartBehavior:- </strong>Determines the way that drags start behavior is handled.</p><p><strong>Implementation</strong></p><pre><strong>final</strong> DragStartBehavior dragStartBehavior;</pre><p>&gt; <strong>onPageChanged:- </strong>Called whenever the page in the center of the viewport changes.</p><p><strong>Implementation</strong></p><pre><strong>final</strong> ValueChanged&lt;int&gt;? onPageChanged;</pre><p>&gt; <strong>padEnds</strong>:- Whether to add padding to both ends of the list.</p><p><strong>Implementation</strong></p><pre><strong>final</strong> bool padEnds;</pre><p>&gt; <strong>physics</strong>:- How the page view should respond to user input.</p><p><strong>Implementation</strong></p><pre><strong>final</strong> ScrollPhysics? physics;</pre><p>&gt; <strong>restorationId</strong>:- Restoration ID to save and restore the scroll offset of the scrollable.</p><p><strong>Implementation</strong></p><pre><strong>final</strong> String? restorationId;</pre><p>&gt; <strong>reverse:- </strong>It defines the scrolling direction. By default, it is set to <em>false</em>.</p><p><strong>Implementation</strong></p><pre><strong>final</strong> bool reverse;</pre><p>&gt; <strong>scrollDirection:- </strong>The axis along which the page view scrolls.</p><p><strong>Implementation</strong></p><pre><strong>final</strong> Axis scrollDirection;</pre><h4>Note: You can read the full blog <a href="https://flutterexperts.com/flutter-pageview-widget/">here</a>.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d85e0aa1b32e" width="1" height="1" alt=""><hr><p><a href="https://medium.flutterdevs.com/flutter-pageview-widget-d85e0aa1b32e">Flutter PageView Widget</a> was originally published in <a href="https://medium.flutterdevs.com/">FlutterDevs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BioMetric Authentication In Flutter Application]]></title>
            <link>https://medium.flutterdevs.com/biometric-authentication-in-flutter-application-85a474507a46?source=rss-6c890734068d------2</link>
            <guid isPermaLink="false">https://medium.com/p/85a474507a46</guid>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[biometrics]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <dc:creator><![CDATA[Raksha Goswami]]></dc:creator>
            <pubDate>Wed, 21 Sep 2022 12:02:18 GMT</pubDate>
            <atom:updated>2024-04-01T10:23:04.039Z</atom:updated>
            <content:encoded><![CDATA[<h4>We learn how to add fingerprint authentication to your flutter apps</h4><figure><a href="https://flutterexperts.com/biometric-authentication-in-flutter-application/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZMjACoXGJ66IZXedvkm2Jg.png" /></a><figcaption>BioMetric Authentication In Flutter Application</figcaption></figure><p><strong>Hello </strong>Everyone! today my writing a blog about security or we can say privacy. In this blog, we learn how to add fingerprint authentication to our flutter application in a very easy way. As a developer, I think bio-metrics is very safe. In this blog, we learn how to implement <strong>BioMetric Authentication </strong>in Flutter Application.</p><p>For <strong>BioMetric Authentication</strong> we need our local database by which we can check the fingerprint.</p><blockquote><em>We use many types of bio-metric :</em></blockquote><ul><li>BiometricType.face</li><li>BiometricType.fingerprint</li><li>BiometricType.weak</li><li>BiometricType.strong</li></ul><blockquote><strong>Table Of Contents:</strong></blockquote><blockquote><em>Implementation</em></blockquote><blockquote><em>Conclusion</em></blockquote><blockquote><em>GitHub Link</em></blockquote><blockquote><em>Read my other blogs</em></blockquote><h3>Implementation:</h3><p><strong>First, </strong>we have to create a new For BioMetric Authentication first we need to add dependencies in pubspec. ymal which is local_auth.</p><pre>dependencies:<br>  local_auth: ^1.1.10</pre><p><strong>|&gt; local_auth: </strong>This Flutter plugin gives the means to perform local, on-device authentication of the user. Import the following file into your StatefulWidget class.</p><pre><strong>import</strong> &#39;package:local_auth/local_auth.dart&#39;;</pre><p>On supported devices, this includes authentication with biometrics such as fingerprint or facial recognition. It supports Android, IOS, and Windows. For local_auth we have to check the capabilities of the device.</p><p><strong>&gt;Device capabilities: </strong>If we want to use Fingerprint Authentication so we have to check the capability of our device for check the capability, we should call canCheckBiometrics()or isDeviceSupport()</p><pre><strong>import</strong> &#39;package:local_auth/local_auth.dart&#39;;<br><strong>final</strong> LocalAuthentication auth = LocalAuthentication();<br><strong>final</strong> bool canAuthenticateWithBiometrics = <strong>await</strong> auth.canCheckBiometrics;<br><strong>final</strong> bool canAuthenticate = canAuthenticateWithBiometrics || <strong>await</strong> auth.isDeviceSupported();</pre><p>canCheckBiometric() only designate whether hardware support is available, not whether the device has any biometrics enrolled. To get a list of enrolled biometrics, call getAvailableBiometrics().</p><p>This plugin will build and run on SDK 16+, but isDeviceSupported()will always return false before SDK 23.</p><p><strong>&gt; Dialogs:</strong></p><blockquote><em>The plugin provides default dialog’s for the following cases:</em></blockquote><ol><li>Passcode/PIN/Pattern Not Set: The user has not yet configured a passcode on iOS or a PIN/pattern on Android.</li><li>Bio-metrics Not Enrolled: The user has not enrolled in any biometrics on the device.</li></ol><pre><strong>import</strong> &#39;package:local_auth/error_codes.dart&#39; <strong>as</strong> auth_error;<br>    <strong>try</strong> {<br>      <strong>final</strong> bool didAuthenticate = <strong>await</strong> auth.authenticate(<br>          localizedReason: &#39;Please authenticate to show account balance&#39;,<br>          options: <strong>const</strong> AuthenticationOptions(useErrorDialogs: <strong>false</strong>));<br>    } <strong>on</strong> PlatformException <strong>catch</strong> (e) {<br>      <strong>if</strong> (e.code == auth_error.notAvailable) {<br>        <em>// Add handling of no hardware here.</em><br>      } <strong>else</strong> <strong>if</strong> (e.code == auth_error.notEnrolled) {<br>      } <strong>else</strong> {}<br>    }</pre><h4>Note: You can read the full blog <a href="https://flutterexperts.com/biometric-authentication-in-flutter-application/">here</a>.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85a474507a46" width="1" height="1" alt=""><hr><p><a href="https://medium.flutterdevs.com/biometric-authentication-in-flutter-application-85a474507a46">BioMetric Authentication In Flutter Application</a> was originally published in <a href="https://medium.flutterdevs.com/">FlutterDevs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Explore Freezed In Flutter]]></title>
            <link>https://medium.flutterdevs.com/explore-freezed-in-flutter-4752ba4bb218?source=rss-6c890734068d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4752ba4bb218</guid>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[freezed]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[state-management]]></category>
            <category><![CDATA[dart]]></category>
            <dc:creator><![CDATA[Raksha Goswami]]></dc:creator>
            <pubDate>Thu, 18 Aug 2022 12:04:23 GMT</pubDate>
            <atom:updated>2024-04-02T09:55:08.729Z</atom:updated>
            <content:encoded><![CDATA[<figure><a href="https://flutterexperts.com/explore-freezed-in-flutter/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*udAH7Puv2rs-uifaX5bRtA.png" /></a><figcaption>Explore Freezed In Flutter</figcaption></figure><p>Hello Everyone.! In this article, we learn about Freezed in Flutter Application. And how it works in Flutter Applications. With the help of freezed, we can reduce the lines of code.</p><blockquote><em>Table Of Contents:</em></blockquote><blockquote><em>Introduction</em></blockquote><blockquote><em>How to Use</em></blockquote><blockquote><em>Implementation</em></blockquote><blockquote><em>Conclusion</em></blockquote><blockquote><em>Read my other blogs</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/0*4XOqguL26gJqOBXi.gif" /></figure><h3>Introduction:</h3><p><strong>Freezed </strong>is a code-generation package that helps you to create data classes in Dart. It stops you from writing a ton of error-prone lines. Sometimes you just want a class that obtains its values in a constructor, a toString method, and maybe value impartiality. That lone is a lot. But now visualize you want objects to remain fixed. For that, you need an extra copyWith method. If you know how to implement all this in Dart, you surely know that it takes many lines of code to achieve this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UoSKI6eB6_HfqI9ibIUEgQ.png" /></figure><h3>How to Use Freezed:</h3><ul><li><strong>Project Setup:- </strong>For using freezed first you need to create a project. Open Android Studio, create a new Flutter Project, and add the project’s name, project location, description, and also domain. For any project, we have to choose the platform, on which we want to run our project. After that, we have to add some dependencies which are necessary to use</li><li><strong>Install:- </strong>First we have to add some dependencies in our project by which we can easily use Freezed. Build_Runner, Freezed, Freezed_Annotation.</li></ul><pre>dev_dependencies:<br>  flutter_test:<br>    sdk: flutter<br>  build_runner: ^2.1.7<br>  freezed: ^1.1.1<br>  freezed_annotation: ^1.1.0</pre><p>or we can add these dependencies by using commands.</p><pre>flutter pub add freezed_annotation<br>flutter pub add --dev build_runner<br>flutter pub add --dev freezed</pre><p><strong>&gt; freezed:-</strong> Freezed package is used to create the model. It’s code generator for data-classes/unions/pattern-matching/cloning.</p><p><strong>&gt; build_runner:- </strong>The build_runner package provides a concrete way of generating files using Dart code, outside of tools like the pub. Unlike pub serve/build, files are always generated directly on disk, and rebuilds are <em>incremental</em> - inspired by tools such as Bazel.</p><p><strong>&gt; freezed_annotation:-</strong> Freezed_annotations for freezed. This package does nothing without freezed. If we want to use Freezed so we have to use this package without this we can’t use Freezed.</p><ul><li><strong>Run the generator:- </strong>To run the code generator, execute the following command.</li></ul><pre>flutter pub run build_runner build</pre><h4>Note: You can read the full blog <a href="https://flutterexperts.com/explore-freezed-in-flutter/">here</a>.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4752ba4bb218" width="1" height="1" alt=""><hr><p><a href="https://medium.flutterdevs.com/explore-freezed-in-flutter-4752ba4bb218">Explore Freezed In Flutter</a> was originally published in <a href="https://medium.flutterdevs.com/">FlutterDevs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rest API Using GetX]]></title>
            <link>https://medium.flutterdevs.com/rest-api-using-getx-c5f40324dfcb?source=rss-6c890734068d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5f40324dfcb</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[getx]]></category>
            <dc:creator><![CDATA[Raksha Goswami]]></dc:creator>
            <pubDate>Wed, 01 Jun 2022 12:02:41 GMT</pubDate>
            <atom:updated>2024-04-09T09:09:45.991Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>Learn how to fetch Rest API using </em><strong>Getx </strong><em>in Flutter Application.</em></h4><figure><a href="https://flutterexperts.com/rest-api-using-getx/"><img alt="" src="https://cdn-images-1.medium.com/max/916/1*CX6A3E7wZc88wSwVkquQGw.png" /></a><figcaption>Rest API Using GetX</figcaption></figure><p>Hello Everyone!! In this article, we learn about <strong>getx </strong>in Flutter. We cover many topics in this article. <strong>GetX</strong> is fast, and lightweight, and using this, we can easily manage states, and routing and can efficiently perform dependency injection.</p><blockquote><strong>Table Of Contents:</strong></blockquote><blockquote><em>What is GetX?</em></blockquote><blockquote><em>Three Pillars of GetX</em></blockquote><blockquote><em>Implementation</em></blockquote><blockquote><em>Conclusion</em></blockquote><blockquote><em>GitHub Link</em></blockquote><blockquote><em>Read my other blogs</em></blockquote><h3>What is <strong>GetX</strong>?</h3><p>There is many state management in flutter like Provider, <strong>GetX</strong>, Bloc, Riverpod, Mobx, etc. But <strong>GetX </strong>is not only a state management library, but instead, it is a micro-framework amalgamated with route management and dependency injection. It points to delivering a top-of-the-line development experience in an extra insubstantial but strong solution for Flutter.</p><h3><strong>Three Pillars of GetX:</strong></h3><p>there are three pillars of <strong>getx </strong>by which we can create our flutter application trouble-free. And it’s very easy to use in any flutter application.</p><h4>1. State management</h4><p>It has two different state management, Get-builder, and <strong>GetX</strong>/Obx. Get-builder is simple to state management and Obx is a reactive state manager.</p><p><strong>&gt; State Management:-</strong> State Management is the planned approach to manage all the interplay that a user performs on a flutter application and then return those changes to UI, update databases, server requests, etc.</p><p><strong>&gt; Reactive State Manager:-</strong> Reactive programming is as easy as state management. Reactive programming can estrange many people because it is said to be tangled. In this, we don’t need to create StreamControllers and StreamBuilder for each variable. We don’t use code generators.</p><p>This is your count variable:</p><pre><strong>var</strong> city= &#39;Agra&#39;;</pre><p>To make it observable, you just need to add “.obs” to the end of it:</p><pre><strong>var</strong> city = &#39;Agra&#39;.obs;</pre><p>And in the UI, when you want to show that value and update the screen whenever the values changes, simply do this:</p><pre>Obx(() =&gt; Text(&quot;${controller.city}&quot;));</pre><h4>2. Route management</h4><p><strong>GetX </strong>Route Management concept is used to navigate from one screen to another and pass data between two screens, to close the snack bar, dialog, and bottom sheets in flutter programming. This makes the navigation much simpler than the welsh way of dealing with it</p><pre>initialRoute: RouteConstant.<em>homeScreen</em>,</pre><h4>3. Dependency management</h4><p>It is used to handle Multiple Repositories in Flutter. As a codebase begins to fatten, in an environment where you are developing multifold applications, it is usual to have some dependencies that are shared across projects.</p><pre>DataController dataController = Get.put(DataController());</pre><h4>Note: You can read the full blog <a href="https://flutterexperts.com/rest-api-using-getx/">here</a>.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5f40324dfcb" width="1" height="1" alt=""><hr><p><a href="https://medium.flutterdevs.com/rest-api-using-getx-c5f40324dfcb">Rest API Using GetX</a> was originally published in <a href="https://medium.flutterdevs.com/">FlutterDevs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Validation Using Bloc In Flutter]]></title>
            <link>https://medium.flutterdevs.com/validation-using-bloc-in-flutter-5de8c7ec5ad4?source=rss-6c890734068d------2</link>
            <guid isPermaLink="false">https://medium.com/p/5de8c7ec5ad4</guid>
            <category><![CDATA[validation]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[bloc]]></category>
            <dc:creator><![CDATA[Raksha Goswami]]></dc:creator>
            <pubDate>Wed, 11 May 2022 11:52:41 GMT</pubDate>
            <atom:updated>2024-04-10T09:59:06.357Z</atom:updated>
            <content:encoded><![CDATA[<h4>Learn How To Implement Validation Using Bloc In Your Flutter Apps</h4><figure><a href="https://flutterexperts.com/validation-using-bloc-in-flutter/"><img alt="" src="https://cdn-images-1.medium.com/max/850/1*NdUovympUlOKyRlwhiQrUw.png" /></a><figcaption>Validation Using Bloc In Flutter</figcaption></figure><p><strong>Hello</strong> Everyone! In this article, we learn about Bloc in Flutter. we cover many topics of the bloc like <em>Bloc Widgets,</em> <em>Bloc Builder, Bloc Selector, Bloc Provider, Multi Bloc Provider, Bloc Listener, Multi Bloc Listener, etc…</em></p><blockquote><strong>Table Of Contents</strong></blockquote><blockquote><em>What is Bloc?</em></blockquote><blockquote><em>Bloc Widgets</em></blockquote><blockquote><em>Implementation</em></blockquote><blockquote><em>Conclusion</em></blockquote><blockquote><em>GitHub Link</em></blockquote><h4><strong>What Is Bloc?</strong></h4><p><strong>Flutter </strong>Bloc is one of the state management in a flutter. We can use it to handle all the states which we want to perform in our flutter applications.</p><p>Bloc is the best and simple way to do state management. We can easily add any type of change to the Flutter application. You can easily learn the concept, no matter what’s your level. You can add this dependency to your project and use it.</p><p>Bloc is a design pattern created by Google to help separate business logic from the award layer and authorize a developer to exploit code more efficiently.</p><p>A state management library called Bloc was created and maintained by Felix Angelo. It assists developers utensil the Bloc design pattern in their Flutter application. It means that a developer must recognize the state of an app at some time. There should be something exhibited on the screen for every interplay with the app to let users know what is incident.</p><h3>Bloc Widgets</h3><blockquote><em>There are many Wiglets in Flutter Bloc:</em></blockquote><h4>&gt; Bloc Builder:</h4><p><strong>Bloc</strong>-builder is a Flutter widget that needs a bloc and a builder function. Bloc-builder holds building the widget in response to new states. Bloc-builder is very alike to Stream-builder but has a more simple API to decrease the quantity of boilerplate code needed. The builder function will potentially be called many times and should be an unalloyed function that returns a widget in reaction to the state.</p><pre>BlocBuilder&lt;BlocA, BlocAState&gt;(<br>  builder: (context, state) {<br>    <em>// return widget here based on BlocA&#39;s state</em><br>  }<br>)</pre><h4>&gt; Bloc Selector:</h4><p><strong>Bloc</strong>-selector is a Flutter widget that is comparable to BlocBuilder but permits developers to filter modernize by selecting a new worth based on the contemporary bloc state. dispensable builds are averted if the selected value does not switch. The pick value must be fixed for Bloc Selector to correctly control whether the builder should be called again.</p><pre>BlocSelector&lt;BlocA, BlocAState, SelectedState&gt;(<br>  selector: (state) {<br>    <em>// return selected state based on the provided state.</em><br>  },<br>  builder: (context, state) {<br>    <em>// return widget here based on the selected state.</em><br>  },<br>)</pre><h4>Note: You can read the full blog <a href="https://flutterexperts.com/validation-using-bloc-in-flutter/">here</a>.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5de8c7ec5ad4" width="1" height="1" alt=""><hr><p><a href="https://medium.flutterdevs.com/validation-using-bloc-in-flutter-5de8c7ec5ad4">Validation Using Bloc In Flutter</a> was originally published in <a href="https://medium.flutterdevs.com/">FlutterDevs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter App for Web]]></title>
            <link>https://medium.flutterdevs.com/flutter-app-for-web-80145779cf2e?source=rss-6c890734068d------2</link>
            <guid isPermaLink="false">https://medium.com/p/80145779cf2e</guid>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[web]]></category>
            <dc:creator><![CDATA[Raksha Goswami]]></dc:creator>
            <pubDate>Thu, 05 May 2022 11:52:58 GMT</pubDate>
            <atom:updated>2024-04-10T10:11:08.697Z</atom:updated>
            <content:encoded><![CDATA[<figure><a href="https://flutterexperts.com/flutter-app-for-web/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hSwodHll_4rIjNzrdC1exA.png" /></a><figcaption>Flutter App for Web</figcaption></figure><p>Hello everyone! This is my first project on Flutter Web. Today we learn about how to create web applications using Flutter. For more understanding, we create a demo on Flutter Web.</p><p>Flutter’s web help develops applications that are wealthy in intuitive content. Web helps for Flutter gives a browser-based conveyance model for Flutter mobile applications. Flutter renders web applications similarly as it will deliver your android/iOS applications. It likewise converts your project over completely to native code (HTML, CSS, JS) when you wish to deploy.</p><blockquote>Table Of Contents:</blockquote><blockquote><em>Requirements For Flutter Web App</em></blockquote><blockquote><em>Important’s of Flutter Web</em></blockquote><blockquote><em>How is the performance for Flutter Web and how it is different</em></blockquote><blockquote><em>Set Up For Flutter Web App</em></blockquote><blockquote><em>Implementation</em></blockquote><blockquote><em>Conclusion</em></blockquote><blockquote><em>GitHub Link</em></blockquote><blockquote><em>Read my other blogs</em></blockquote><h3><strong>Requirements For Flutter Web App:</strong></h3><blockquote><em>We have some important requirements for creating any Flutter Web App.</em></blockquote><ul><li><strong>&gt;</strong> Flutter SDK. See the Flutter SDK installation instructions.</li><li><strong>&gt;</strong> Chrome; debugging a web app requires the Chrome browser.</li><li><strong>&gt;</strong> Optional: An IDE that supports Flutter. You can install Android Studio, IntelliJ IDEA, or Visual Studio Code and install the Flutter and Dart plugins to enable language support and tools for refactoring, running, debugging, and reloading your web app within an editor. See setting up an editor for more details.</li></ul><h3>Important’s of Flutter Web:</h3><blockquote><em>Some important points of flutter web:</em></blockquote><ul><li><strong>&gt;</strong> Users can open your website in any screen size, you need to make it responsive.</li><li><strong>&gt;</strong> Many packages that bear the web, but always examine the supported platforms before coding.</li><li><strong>&gt;</strong> If you are from a web development background and if you perceive to make any changes in native code, you are highly welcome to do so. You can replace the native code the same way we can change it for Android and iOS.</li><li>When you want to deploy your web app, you can simply run:</li></ul><pre>flutter build web</pre><h3>How is the performance for Flutter Web and how it is different:</h3><ul><li><strong>&gt;</strong> FlutterWeb works in appealing smooth contrast to native as it creates only a single page and hence generates less cargo on the browser.</li><li><strong>&gt;</strong> With the help of Flutter, you can create some great animations very easily compared to native, hence making your web app more beautiful, and it is very useful for complex web applications.</li><li><strong>&gt;</strong> Flutter Web directly bear installing your website as a unfasten application (Web-App) for which you require to individually code if in native.</li><li><strong>&gt;</strong> Flutter, as it is a cross-platform framework, you can add some platform-specific code without any configuration changes by which we can apply many new things to our web application.</li></ul><h4>Note: You can read the full blog <a href="https://flutterexperts.com/flutter-app-for-web/">here</a>.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80145779cf2e" width="1" height="1" alt=""><hr><p><a href="https://medium.flutterdevs.com/flutter-app-for-web-80145779cf2e">Flutter App for Web</a> was originally published in <a href="https://medium.flutterdevs.com/">FlutterDevs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>