<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dhruv Nakum</title>
    <description>The latest articles on DEV Community by Dhruv Nakum (@redstar25).</description>
    <link>https://dev.to/redstar25</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F486268%2Fe82067fd-d328-49cc-ac55-53a3691566fc.jpg</url>
      <title>DEV Community: Dhruv Nakum</title>
      <link>https://dev.to/redstar25</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/redstar25"/>
    <language>en</language>
    <item>
      <title>Animation In Flutter: Animation Class, Tween &amp; CurvedAnimation</title>
      <dc:creator>Dhruv Nakum</dc:creator>
      <pubDate>Thu, 30 Sep 2021 05:18:35 +0000</pubDate>
      <link>https://dev.to/redstar25/animation-in-flutter-animation-class-tween-curvedanimation-3bfh</link>
      <guid>https://dev.to/redstar25/animation-in-flutter-animation-class-tween-curvedanimation-3bfh</guid>
      <description>&lt;ul&gt;
&lt;li&gt;In the previous article, we saw how to use AnimationController to control our animation. We will further customize our basketball animation in this article.&lt;/li&gt;
&lt;li&gt;The following is an example of our earlier animation:&lt;/li&gt;
&lt;li&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frox2gnwfokbdugbyelwc.gif" alt="animation"&gt;&lt;/li&gt;
&lt;li&gt;Because of the lack of a smooth bouncing effect, the above animation appears strange. Let's make this animation better.&lt;/li&gt;
&lt;li&gt;But first, let's have a look at the basic Animation library that comes along with the Flutter SDK.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Animation:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Animation is a core library of the Flutter. This is an abstract class. It means we won't be able to instantiate it.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Febkwqmymnoy0ccaen9i0.png" alt="animtioninstantiate"&gt;
&lt;/li&gt;
&lt;li&gt;We can track the animation's completion and dismissal using an instance of the Animation class. In addition, we can check the status of the currently running animation.&lt;/li&gt;
&lt;li&gt;Let's first create an Animation instance in our app.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class _MyHomePageState extends State&amp;lt;MyHomePage&amp;gt; with TickerProviderStateMixin {
    late Animation _animation;
//.....
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;A value of type T is assigned to an animation. It means that we can make an animation for almost any datatypes. For example, we can make:
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd4tmwdj6xs22zgpgksmw.png" alt="animationType"&gt;
&lt;/li&gt;
&lt;li&gt;In our case, we want an animation of type double. Because we want to translate the ball position which is of type double. So let's update the Animation type.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class _MyHomePageState extends State&amp;lt;MyHomePage&amp;gt; with TickerProviderStateMixin {
    late Animation&amp;lt;double&amp;gt; _animation;
//.....
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;As previously stated, Animation is an abstract class. It has no idea what is going on on-screen. It only understands the values that are passed to it and the state of that specific animation.&lt;/li&gt;
&lt;li&gt;The Animation provides us with more control over defining the upperBound and lowerBound values of the animation, i.e. the begin and end values.&lt;/li&gt;
&lt;li&gt;When the controller plays this animation, it generates interpolated values between the begin and end points. We use that interpolated value to animate our widget.&lt;/li&gt;
&lt;li&gt;But now comes the question of how to make an animation? To do so, let us first define Tween.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Read the rest on &lt;a href="https://dhruvnakum.xyz/animation-in-flutter-animation-class-tween-and-curvedanimation" rel="noopener noreferrer"&gt;my website&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>animation</category>
      <category>programming</category>
    </item>
    <item>
      <title>Animation In Flutter: AnimationController</title>
      <dc:creator>Dhruv Nakum</dc:creator>
      <pubDate>Tue, 28 Sep 2021 06:29:23 +0000</pubDate>
      <link>https://dev.to/redstar25/animation-in-flutter-animationcontroller-43n5</link>
      <guid>https://dev.to/redstar25/animation-in-flutter-animationcontroller-43n5</guid>
      <description>&lt;ul&gt;
&lt;li&gt;In Flutter, we have basically two types of animation: Implicit, and Explicit.&lt;/li&gt;
&lt;li&gt;The Implicit animations are the pre-built animations available in the Fluter SDK.&lt;/li&gt;
&lt;li&gt;The Explicit animations need a controller to perform an animation.&lt;/li&gt;
&lt;li&gt;The previous two articles in this series we have seen AnimatedAlign and AnimationCrossFade, which are nothing but an Implicit animation as they don't require any type of controller.&lt;/li&gt;
&lt;li&gt;There are different Implicit animations available in the Flutter For example, AnimatedContainer, AnimatiedOpacity, AnimatedIcon, etc.&lt;/li&gt;
&lt;li&gt;On the other hand, In Explicit animation AnimationController is required. The AnimationController represents an interpolated range of values that define all possible frames for a particular animation. Let's take a look at the AnimationController in detail.....&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read Full Article &lt;a href="https://dhruvnakum.xyz/animation-in-flutter-animationcontroller"&gt;Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>animation</category>
      <category>programming</category>
    </item>
    <item>
      <title>Animation In Flutter: AnimatedCrossFade</title>
      <dc:creator>Dhruv Nakum</dc:creator>
      <pubDate>Tue, 28 Sep 2021 06:27:58 +0000</pubDate>
      <link>https://dev.to/redstar25/animation-in-flutter-animatedcrossfade-47bp</link>
      <guid>https://dev.to/redstar25/animation-in-flutter-animatedcrossfade-47bp</guid>
      <description>&lt;h2&gt;
  
  
  AnimatedCrossFade
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Consider a scenario, where you want to replace a current widget with a new widget.&lt;/li&gt;
&lt;li&gt;For example, you have an app where there are different types of posts. And you want to blur/just place a widget on top of that post saying "This post is sensitive". Just Like Instagram&lt;/li&gt;
&lt;li&gt;Let's make something like this in our Flutter App.....&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read Full Article &lt;a href="https://dhruvnakum.xyz/animation-in-flutter-animatedcrossfade"&gt;Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>animation</category>
      <category>programming</category>
    </item>
    <item>
      <title>Animation In Flutter : AnimatedAlign</title>
      <dc:creator>Dhruv Nakum</dc:creator>
      <pubDate>Tue, 28 Sep 2021 06:27:08 +0000</pubDate>
      <link>https://dev.to/redstar25/animation-in-flutter-animatedalign-m5f</link>
      <guid>https://dev.to/redstar25/animation-in-flutter-animatedalign-m5f</guid>
      <description>&lt;ul&gt;
&lt;li&gt;As a developer, animation becomes an important part of your app development workflow. To make your app memorable, you might want to create cool animations in your application.&lt;/li&gt;
&lt;li&gt;Animation makes a huge difference in user engagement. It is a powerful tool for grabbing user's attention and making the app's UI more friendly to use.&lt;/li&gt;
&lt;li&gt;Animation is the process of creating a visual illusion of motion, with the help of elements such as images or videos. It is such a wonderful technique that allows you to convey your message with emotion and feeling.&lt;/li&gt;
&lt;li&gt;Animation is one of the integral parts that make Flutter such a powerful framework. It helps us to create apps that not only look fantastic but feel natural and seamless as well.&lt;/li&gt;
&lt;li&gt;In this series, I'm going to explain different in-built animation widgets like AnimatedAlign, AnimatedContainer, AnimatedOpacity, AnimatedWidget, AnimatedModalBarrier, etc.&lt;/li&gt;
&lt;li&gt;In this article, I've explained the AnimatedAlign widget. Which is used to animate the position.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read Full Article &lt;a href="https://dhruvnakum.xyz/animation-in-flutter-animatedalign"&gt;Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>animation</category>
      <category>programming</category>
    </item>
    <item>
      <title>Flutter and AdMob: A blog around monetizing your Flutter app with AdMob.</title>
      <dc:creator>Dhruv Nakum</dc:creator>
      <pubDate>Tue, 28 Sep 2021 06:25:29 +0000</pubDate>
      <link>https://dev.to/redstar25/flutter-and-admob-a-blog-around-monetizing-your-flutter-app-with-admob-2o0e</link>
      <guid>https://dev.to/redstar25/flutter-and-admob-a-blog-around-monetizing-your-flutter-app-with-admob-2o0e</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Mobile applications are a great way to earn revenue from your programming skills. There are many ways to earn money apart from the app store revenue. You can add ads to your apps and monetize them.&lt;/li&gt;
&lt;li&gt;Google is the biggest player in the online advertisement industry. Recently, Flutter released a package called google_mobile_ads for monetizing the Flutter application.&lt;/li&gt;
&lt;li&gt;This plugin currently supports loading and displaying banner, interstitial (full-screen), native ads, and rewarded video ads.
This plugin can also support Google Ad Manager, if you want to load and display ads from Google Ad Manager....&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read Full Article &lt;a href="https://dhruvnakum.xyz/flutter-and-admob-a-blog-around-monetizing-your-flutter-app-with-admob"&gt;Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>admob</category>
      <category>dart</category>
      <category>programming</category>
    </item>
    <item>
      <title>Slivers in Flutter - Part (1)</title>
      <dc:creator>Dhruv Nakum</dc:creator>
      <pubDate>Tue, 28 Sep 2021 06:24:15 +0000</pubDate>
      <link>https://dev.to/redstar25/slivers-in-flutter-part-1-2ibe</link>
      <guid>https://dev.to/redstar25/slivers-in-flutter-part-1-2ibe</guid>
      <description>&lt;h2&gt;
  
  
  Sliver
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Slivers are basically a scrollable area, that can be customized. Slivers help us to make the scrolling fancier instead of a normal boring scroll.&lt;/li&gt;
&lt;li&gt;Slivers are useful for placing multiple scrollable widgets (ListView, GridView) inside it. It means we can handle nested scroll view.&lt;/li&gt;
&lt;li&gt;In-fact, scrollable widgets like ListView, GridView, SingleChildScrollView, etc are implementing slivers under the hood......&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read full article &lt;a href="https://dhruvnakum.xyz/slivers-in-flutter-part-1"&gt;Here&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dhruvnakum.xyz/slivers-in-flutter-part-2"&gt;Slivers in Flutter - Part (2)&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dhruvnakum.xyz/slivers-in-flutter-part-3"&gt;Slivers in Flutter - Part (3)&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dhruvnakum.xyz/slivers-in-flutter-part-4"&gt;Slivers in Flutter - Part (4)&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>slivers</category>
      <category>programming</category>
    </item>
    <item>
      <title>Using Linter to Improve Code Quality</title>
      <dc:creator>Dhruv Nakum</dc:creator>
      <pubDate>Tue, 28 Sep 2021 06:21:07 +0000</pubDate>
      <link>https://dev.to/redstar25/using-linter-to-improve-code-quality-11i6</link>
      <guid>https://dev.to/redstar25/using-linter-to-improve-code-quality-11i6</guid>
      <description>&lt;h2&gt;
  
  
  Why Linting:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Linting in Flutter is a linting tool that gives information regarding the quality of the code. A Lint or a Linter is a program that supports linting (verifying code quality) according to your coding rules. It will also report any issues it finds with existing code.&lt;/li&gt;
&lt;li&gt;Using lint tools can help you accelerate development and reduce costs by finding errors earlier.&lt;/li&gt;
&lt;li&gt;As a developer, we are most of the time dealing with problems like bugs, errors, etc. And even after solving it and rolling out our application, we might found out bugs that lead to application crashes.&lt;/li&gt;
&lt;li&gt;To reduce the occurrence of this type of error and improve the code quality and readability we can use linter.
The definition of linting according to Wikipedia -&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;It is a tool that analyzes source code to flag programming errors, bugs, stylistic errors, and suspicious constructs.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In simple terms, Linter will warn you or will give you the error if your code does not satisfy the rules specified by linter and needs to be resolved for better code quality, readability, and performance-boosting......&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;Read Full Article &lt;a href="https://dhruvnakum.xyz/using-linter-to-improve-code-quality"&gt;Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>lint</category>
      <category>programming</category>
    </item>
    <item>
      <title>Flutter Bloc : A Complete Guide</title>
      <dc:creator>Dhruv Nakum</dc:creator>
      <pubDate>Tue, 28 Sep 2021 06:19:12 +0000</pubDate>
      <link>https://dev.to/redstar25/flutter-bloc-a-complete-guide-445</link>
      <guid>https://dev.to/redstar25/flutter-bloc-a-complete-guide-445</guid>
      <description>&lt;h2&gt;
  
  
  Intro
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;When it comes to building an application, Flutter is the easiest and powerful framework.&lt;/li&gt;
&lt;li&gt;But building an application without any strong architecture is like building a house without any planning and blueprints.&lt;/li&gt;
&lt;li&gt;You won't understand the uses of architecture when building small applications.&lt;/li&gt;
&lt;li&gt;But when it comes to building a big production level application where you have many screens, animations, methods, classes, etc, without any proper architecture you will end up in a state where everything is messed up and you don't know how all the components, classes, methods are communicating and functioning.&lt;/li&gt;
&lt;li&gt;So it is very necessary to maintain the code make code more readable and testable, and easily trackable when designing and developing this kind of big application.
There are many different packages available, and all have their own way to handle application states.&lt;/li&gt;
&lt;li&gt;In this article, I am going to talk about Bloc. Bloc is not just a state management, but it's also an architectural design pattern which helps us to build production-level applications.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read full article &lt;a href="https://dhruvnakum.xyz/flutter-bloc-a-complete-guide"&gt;Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>bloc</category>
      <category>dart</category>
      <category>mobile</category>
    </item>
    <item>
      <title>Equatable in Flutter: A Complete Guide</title>
      <dc:creator>Dhruv Nakum</dc:creator>
      <pubDate>Tue, 28 Sep 2021 06:17:31 +0000</pubDate>
      <link>https://dev.to/redstar25/equatable-in-flutter-a-complete-guide-4gla</link>
      <guid>https://dev.to/redstar25/equatable-in-flutter-a-complete-guide-4gla</guid>
      <description>&lt;h2&gt;
  
  
  Comparing Two Objects in Manual Way
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;While developing the Flutter application, we often wanted to compare two objects and check whether they are equal or not.&lt;/li&gt;
&lt;li&gt;To do that, dart provides two methods == and hashcode.&lt;/li&gt;
&lt;li&gt;By overriding these methods we can compare our instances.&lt;/li&gt;
&lt;li&gt;Let's take an example and compare two objects by overriding these two methods.
Example: Comparing Two Car Objects Example .........&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read full article &lt;a href="https://dhruvnakum.xyz/equatable-in-flutter-a-complete-guide"&gt;Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>equatable</category>
      <category>programming</category>
    </item>
    <item>
      <title>Internationalize Your Flutter App, It's Easy!</title>
      <dc:creator>Dhruv Nakum</dc:creator>
      <pubDate>Tue, 28 Sep 2021 06:16:21 +0000</pubDate>
      <link>https://dev.to/redstar25/internationalize-your-flutter-app-it-s-easy-3kc7</link>
      <guid>https://dev.to/redstar25/internationalize-your-flutter-app-it-s-easy-3kc7</guid>
      <description>&lt;h2&gt;
  
  
  Why Internationalization?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Localization is important because people do not always speak the language you expect them to. This means you must have an app with no strings attached and the ability to instantly use multiple languages.&lt;/li&gt;
&lt;li&gt;If your application supports some other language than English, you can make your users happy - and also support them by providing translated and localized applications. Certainly, it's not necessary for every application, but expect that eventually, you'll need it if you're going to target a diverse audience.&lt;/li&gt;
&lt;li&gt;In this article, I'll explain how to internationalize the flutter applications.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read full article &lt;a href="https://dhruvnakum.xyz/internationalize-your-flutter-app-its-easy"&gt;Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>localization</category>
      <category>internationalization</category>
      <category>dart</category>
    </item>
    <item>
      <title>Understanding Streams: Everything you need to know</title>
      <dc:creator>Dhruv Nakum</dc:creator>
      <pubDate>Tue, 28 Sep 2021 06:14:42 +0000</pubDate>
      <link>https://dev.to/redstar25/understanding-streams-everything-you-need-to-know-8fp</link>
      <guid>https://dev.to/redstar25/understanding-streams-everything-you-need-to-know-8fp</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Streams are very complex and hard to understand. In this blog, I'll try to explain this concept with some examples.&lt;/li&gt;
&lt;li&gt;For beginners, this concept should be clear in their mind, because most of the time our application is dealing with asynchronous data, For example: Fetch data from API, DB, etc.&lt;/li&gt;
&lt;li&gt;Before start coding and implementing Stream let's first understand what actually a Stream is.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read full article &lt;a href="https://dhruvnakum.xyz/understanding-streams-all-you-need-to-know"&gt;Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>stream</category>
      <category>mobile</category>
    </item>
    <item>
      <title>Iterable &amp; Iterator in Flutter &amp; Dart</title>
      <dc:creator>Dhruv Nakum</dc:creator>
      <pubDate>Tue, 28 Sep 2021 06:07:22 +0000</pubDate>
      <link>https://dev.to/redstar25/iterable-iterator-in-flutter-dart-4b20</link>
      <guid>https://dev.to/redstar25/iterable-iterator-in-flutter-dart-4b20</guid>
      <description>&lt;h2&gt;
  
  
  Iterable
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;If you are familiar with Dart/Flutter you are knowingly or unknowingly using Iterable in your application or program.&lt;/li&gt;
&lt;li&gt;You might have come across objects like List, Map, and Set when building an application.&lt;/li&gt;
&lt;li&gt;These are nothing but Iterable. You can verify this by taking a look into the implementation of these collections....&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read Full Article &lt;a href="https://dhruvnakum.xyz/iterable-and-iterator-in-flutter-and-dart"&gt;Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>flutteriterable</category>
      <category>mobile</category>
    </item>
  </channel>
</rss>
