<?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: shamir shakir</title>
    <description>The latest articles on DEV Community by shamir shakir (@shamir_shakir_e293eb37a32).</description>
    <link>https://dev.to/shamir_shakir_e293eb37a32</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3995123%2F1bbd2677-801e-4743-a7f3-b7f274cde264.png</url>
      <title>DEV Community: shamir shakir</title>
      <link>https://dev.to/shamir_shakir_e293eb37a32</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shamir_shakir_e293eb37a32"/>
    <language>en</language>
    <item>
      <title>Shipping one Flutter codebase to 6 platforms: what I learned building Tuneline</title>
      <dc:creator>shamir shakir</dc:creator>
      <pubDate>Sun, 21 Jun 2026 09:36:01 +0000</pubDate>
      <link>https://dev.to/shamir_shakir_e293eb37a32/shipping-one-flutter-codebase-to-6-platforms-what-i-learned-building-tuneline-4jp8</link>
      <guid>https://dev.to/shamir_shakir_e293eb37a32/shipping-one-flutter-codebase-to-6-platforms-what-i-learned-building-tuneline-4jp8</guid>
      <description>&lt;p&gt;I spent the last several months solo-building &lt;strong&gt;Tuneline&lt;/strong&gt;, a cross-platform media player, from a single Flutter codebase that ships native apps to &lt;strong&gt;macOS, Windows, Linux, Android, Google TV, and iOS&lt;/strong&gt;. No Electron. Here is the stack and a few things that bit me.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Flutter 3.38 / Dart 3.10&lt;/strong&gt; — one codebase, six targets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;media_kit&lt;/strong&gt; for playback — libmpv on desktop, ExoPlayer on Android. Avoiding per-platform video plugins was the single biggest sanity win.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Riverpod&lt;/strong&gt; for state, &lt;strong&gt;Hive&lt;/strong&gt; for local storage, &lt;strong&gt;Dio&lt;/strong&gt; for HTTP.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Node.js + Prisma&lt;/strong&gt; backend for the cloud-sync layer, so your library, favorites, and settings replicate across devices.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GoRouter&lt;/strong&gt; with a single-route, tab-driven shell so the same layout reflows from a phone to a 10-foot TV UI.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Things that bit me
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;TV is its own design language.&lt;/strong&gt; A 10-foot, focus-based UI is not a big phone. D-pad focus traversal, larger hit targets, and a separate Google TV store listing were all non-trivial.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Per-platform video quirks.&lt;/strong&gt; Desktop (libmpv) and mobile (ExoPlayer) disagree on enough edge cases that a shared abstraction over media_kit earned its keep.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sync is a distributed-systems problem in disguise.&lt;/strong&gt; "Set up once, never rebuild it" sounds simple until two devices edit the same data offline. Keeping one canonical decoder for both the socket sync-down and the REST pull saved me from a whole class of drift bugs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One codebase is not one design.&lt;/strong&gt; Window management on desktop, picture-in-picture per platform, and safe-area handling on mobile each needed platform-specific care even with a shared core.&lt;/p&gt;

&lt;h2&gt;
  
  
  The product
&lt;/h2&gt;

&lt;p&gt;Tuneline is a bring-your-own-content player, like VLC — you supply your own playlists and it does not host anything. Every viewing feature is free on one device, and the only paid tier is cloud sync plus multi-device. No subscriptions.&lt;/p&gt;

&lt;p&gt;Site: &lt;a href="https://tuneline.app" rel="noopener noreferrer"&gt;https://tuneline.app&lt;/a&gt; — happy to answer any Flutter or cross-platform questions in the comments.&lt;/p&gt;

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