<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>good to know on Dash Overflow</title>
    <link>https://dash-overflow.net/categories/good-to-know/</link>
    <description>Recent content in good to know on Dash Overflow</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 26 Jun 2020 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="https://dash-overflow.net/categories/good-to-know/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Why Flutter animations need a vsync/TickerProvider</title>
      <link>https://dash-overflow.net/articles/why_vsync/</link>
      <pubDate>Fri, 26 Jun 2020 00:00:00 +0000</pubDate>
      
      <guid>https://dash-overflow.net/articles/why_vsync/</guid>
      <description>If you have used Flutter animations before, you likely came across a parameter named vsync or the mixin SingleTickerProviderStateMixin.
But we are rarely using them ourselves. So what do they even do?
To answer these questions, we will use a simple animation as an example: A clock
For a clock, AnimationController doesn&amp;rsquo;t seem very useful:
 This is a perpetual animation.
The fact that a controller requires a duration property for the controller feels like it doesn&amp;rsquo;t fit our use-case.</description>
    </item>
    
    <item>
      <title>The difference between a &#34;factory constructor&#34; and a &#34;static method&#34;</title>
      <link>https://dash-overflow.net/articles/factory/</link>
      <pubDate>Tue, 26 May 2020 00:00:00 +0000</pubDate>
      
      <guid>https://dash-overflow.net/articles/factory/</guid>
      <description>If you&amp;rsquo;ve used Dart before, chances are that you&amp;rsquo;ve heard about the factory keyword.
It&amp;rsquo;s also likely that you&amp;rsquo;ve seen the keyword used for deserialization like so:
class SomeClass { SomeClass({this.property}); factory SomeClass.fromMap(Map&amp;lt;String, Object&amp;gt; map) { return SomeClass( property: map[&#39;property&#39;] as int, ); } final int property; }  But this code may leave you with an unanswered question:
Can&amp;rsquo;t I use a static method? After all, you could replace the previous code with:</description>
    </item>
    
  </channel>
</rss>