<?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: optixium</title>
    <description>The latest articles on DEV Community by optixium (@optixium).</description>
    <link>https://dev.to/optixium</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%2F3908753%2F8bb46b32-a31a-4240-bdd6-65a7fc22529d.png</url>
      <title>DEV Community: optixium</title>
      <link>https://dev.to/optixium</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/optixium"/>
    <language>en</language>
    <item>
      <title>5 Flutter UI Components I Built So You Don't Have To</title>
      <dc:creator>optixium</dc:creator>
      <pubDate>Sat, 02 May 2026 09:47:21 +0000</pubDate>
      <link>https://dev.to/optixium/5-flutter-ui-components-i-built-so-you-dont-have-to-d49</link>
      <guid>https://dev.to/optixium/5-flutter-ui-components-i-built-so-you-dont-have-to-d49</guid>
      <description>&lt;p&gt;After building several Flutter apps, I kept &lt;br&gt;
rebuilding the same UI components from scratch &lt;br&gt;
every single time.&lt;/p&gt;

&lt;p&gt;Onboarding screens. Chat bubbles. Pricing pages. &lt;br&gt;
Product grids. Feed screens.&lt;/p&gt;

&lt;p&gt;So I decided to properly package them as clean, &lt;br&gt;
standalone &lt;code&gt;.dart&lt;/code&gt; files — zero external dependencies, &lt;br&gt;
drop-in ready.&lt;/p&gt;

&lt;p&gt;Here's what I built:&lt;/p&gt;
&lt;h2&gt;
  
  
  🚀 1. Animated Onboarding Flow
&lt;/h2&gt;

&lt;p&gt;3-step animated intro screen with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Smooth fade animations via &lt;code&gt;AnimationController&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Animated page indicator dots&lt;/li&gt;
&lt;li&gt;Skip button + customizable slides&lt;/li&gt;
&lt;li&gt;Single &lt;code&gt;.dart&lt;/code&gt; file&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  📱 2. Stories &amp;amp; Feed UI
&lt;/h2&gt;

&lt;p&gt;Instagram-style social feed with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Horizontal stories bar with animated gradient ring&lt;/li&gt;
&lt;li&gt;Post cards with animated like button&lt;/li&gt;
&lt;li&gt;Dark theme out of the box&lt;/li&gt;
&lt;li&gt;Single &lt;code&gt;.dart&lt;/code&gt; file&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  🛒 3. Product Card Kit
&lt;/h2&gt;

&lt;p&gt;E-commerce grid with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Scale animation on tap (feels premium)&lt;/li&gt;
&lt;li&gt;Live cart counter in AppBar&lt;/li&gt;
&lt;li&gt;Per-product accent colors&lt;/li&gt;
&lt;li&gt;Single &lt;code&gt;.dart&lt;/code&gt; file&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  💎 4. Pricing Plans
&lt;/h2&gt;

&lt;p&gt;SaaS pricing screen with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Monthly/Yearly animated toggle&lt;/li&gt;
&lt;li&gt;Auto-calculated savings badge&lt;/li&gt;
&lt;li&gt;"Most Popular" plan highlight&lt;/li&gt;
&lt;li&gt;Single &lt;code&gt;.dart&lt;/code&gt; file&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  💬 5. Chat Bubble UI
&lt;/h2&gt;

&lt;p&gt;Real-time chat screen with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Animated 3-dot typing indicator&lt;/li&gt;
&lt;li&gt;Auto-scroll to latest message&lt;/li&gt;
&lt;li&gt;Sent &amp;amp; received bubble styles&lt;/li&gt;
&lt;li&gt;Single &lt;code&gt;.dart&lt;/code&gt; file&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  Key Technical Decisions
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Why single .dart files?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;No pubspec.yaml changes needed. Copy the file, &lt;br&gt;
import it, done. Developers hate dependency conflicts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why zero external packages?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Flutter's built-in widgets are powerful enough for &lt;br&gt;
all of these. &lt;code&gt;AnimationController&lt;/code&gt;, &lt;code&gt;PageView&lt;/code&gt;, &lt;br&gt;
&lt;code&gt;ListView&lt;/code&gt; — everything is native.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Samsung Galaxy navigation bar bug&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Learned this the hard way — always wrap your &lt;br&gt;
bottom UI elements in &lt;code&gt;SafeArea(top: false)&lt;/code&gt; &lt;br&gt;
otherwise they get hidden behind the gesture &lt;br&gt;
navigation bar on Android.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="n"&gt;SafeArea&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="nl"&gt;top:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;child:&lt;/span&gt; &lt;span class="n"&gt;Container&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="c1"&gt;// your input bar or bottom content&lt;/span&gt;
  &lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Also always set &lt;code&gt;resizeToAvoidBottomInset: true&lt;/code&gt; &lt;br&gt;
on your Scaffold when you have input fields.&lt;/p&gt;




&lt;h2&gt;
  
  
  Where to get them
&lt;/h2&gt;

&lt;p&gt;I packaged all 5 on Gumroad:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🚀 &lt;a href="https://optixium.gumroad.com/l/dxnlex" rel="noopener noreferrer"&gt;Onboarding Flow — $24&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📱 &lt;a href="https://optixium.gumroad.com/l/hlvzg" rel="noopener noreferrer"&gt;Stories &amp;amp; Feed UI — $29&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🛒 &lt;a href="https://optixium.gumroad.com/l/dgkmaq" rel="noopener noreferrer"&gt;Product Card Kit — $19&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;💎 &lt;a href="https://optixium.gumroad.com/l/fttmt" rel="noopener noreferrer"&gt;Pricing Plans — $16&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;💬 &lt;a href="https://optixium.gumroad.com/l/wyqob" rel="noopener noreferrer"&gt;Chat Bubble UI — $22&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Happy to answer any questions about the &lt;br&gt;
implementation or Flutter patterns used!&lt;/p&gt;

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