<?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 Rakesh Lakum on Medium]]></title>
        <description><![CDATA[Stories by Rakesh Lakum on Medium]]></description>
        <link>https://medium.com/@rakesh.lakum?source=rss-eab786a8776c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*QwjUdK3JgdSygqEH</url>
            <title>Stories by Rakesh Lakum on Medium</title>
            <link>https://medium.com/@rakesh.lakum?source=rss-eab786a8776c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 03:52:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rakesh.lakum/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[Accelerate Flutter UI Development with Cursor AI: Build UIs and Boilerplates in Minutes]]></title>
            <link>https://medium.com/reversebits/accelerate-flutter-ui-development-with-cursor-ai-build-uis-and-boilerplates-in-minutes-23ed866f72fb?source=rss-eab786a8776c------2</link>
            <guid isPermaLink="false">https://medium.com/p/23ed866f72fb</guid>
            <category><![CDATA[cursor-ai]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[cursor]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Rakesh Lakum]]></dc:creator>
            <pubDate>Tue, 05 Aug 2025 08:12:15 GMT</pubDate>
            <atom:updated>2025-08-05T08:12:50.902Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6DyHCojP3XLFnrB9" /><figcaption>Photo by <a href="https://unsplash.com/@almoya?utm_source=medium&amp;utm_medium=referral">Aerps.com</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><em>Discover how modern AI tools like Cursor can dramatically speed up Flutter app design and code generation. In this guide, we explore AI-powered workflows — from importing Figma designs to writing precise prompts — that let you create pixel-perfect Flutter UIs and boilerplate code in minutes. Whether you’re a beginner or a seasoned developer, these tips will help you leverage Cursor’s AI assistant for faster, cleaner code.</em></p><h3>What is Cursor AI and Why Use It?</h3><p>Cursor is an AI-powered code editor that understands natural-language instructions. It uses advanced models (including GPT-4) to autocomplete code, refactor classes, and even generate entire projects.</p><p>As the official site notes, Cursor is “built to make you extraordinarily productive.” You can tell it what to do, and it edits or writes the code for you.</p><p>Many developers report using Cursor on the majority of their work. For example, one Flutter engineer said they “rarely write boilerplate code anymore — [they] leverage tools like Cursor to streamline Flutter development”. In practice, this means tasks that once took hours can now be done in a few minutes.</p><p>Getting started is easy. Go to Cursor’s website and download the editor for your operating system. Open the installer, follow the steps, and soon you’ll have Cursor running a familiar IDE interface. Below is an example of the Cursor download page (for macOS, Windows, or Linux) to illustrate the onboarding process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2bpqYAL1Z3fJMZL4sGQTzQ.png" /><figcaption><em>Figure: Cursor AI official download page (select the version for your OS)</em></figcaption></figure><p>Once launched, Cursor’s interface should look familiar to anyone used to VS Code or similar editors.</p><p>The File Explorer is on the left, letting you browse and organize your project files. The Code Editor occupies the center, supporting syntax highlighting, autocompletion, linting, and more.</p><p>On the right, there’s an AI Chat Sidebar here you can type prompts or questions, and the AI will generate or modify code in context.</p><p>In other words, Cursor feels like a regular IDE enhanced with a powerful AI assistant.</p><h3>Rapid Flutter UI Design with AI</h3><p>Building a polished Flutter UI from scratch can be time-consuming. With AI, you can dramatically accelerate this process.</p><p>A common workflow is to design your app interface in a visual tool (like Figma) and then convert that design to Flutter code. For example, Builder.io’s Figma plugin can take a screen design and generate Flutter widget code automatically.</p><p>Likewise, FlutterFlow (a popular low-code Flutter platform) offers an “Import from Figma” feature: it maps your Figma components, colors, and assets into Flutter widgets</p><p>Once you have that starting code, Cursor can refine and enhance it. For instance, suppose Builder.io generates a Scaffold with a Column of widgets from your design. You can then prompt the Cursor for improvements.</p><p>For example:</p><blockquote><em>“If the layout breaks on smaller screens, I’d tell Cursor:<br>‘Update this Scaffold to use a SingleChildScrollView for responsive layouts. Run </em><em>flutter test to ensure no regressions.”</em></blockquote><p>Cursor will analyze the code, apply the requested changes, and even re-run tests until the layout works on all devices.</p><p>This partnership — design first, then AI-assisted refinement — lets you go from mockup to functional UI in minutes.</p><p>As one expert summarized, pairing Cursor with a Figma-to-Flutter tool “ensures pixel-perfect UIs with minimal manual coding”.</p><p>You can also generate UI code directly from images or prompts. For example, you can drag a screenshot of a desired UI into Cursor’s chat and enter this prompt:</p><blockquote>Prompt: “Please revamp my project to create this UI with all the colors and make sure everything is pixel perfect.”</blockquote><p>Cursor then produced the full Flutter widget code to match that design. (The AI-made UI compiled correctly, even if some minor fixes were needed.) This shows that, with a good prompt or image input, Cursor can bootstrap your interface in a fraction of the time it would take to hand-code layouts.</p><h4>Key Tips for Rapid UI Design:</h4><ul><li><em>Start with a design mockup.</em> Create the screen in Figma or Sketch.</li><li><em>Use an AI design importer.</em> Convert it to Flutter widgets (e.g. Builder.io’s Figma plugin or FlutterFlow’s importer).</li><li><em>Refine with Cursor prompts.</em> Ask Cursor to polish responsiveness or styling (e.g. “make this scrollable on small screens”).</li><li><em>Iterate quickly.</em> Run the app, identify any glitches, and give Cursor further prompts to fix them.</li></ul><p>By following these steps, you can assemble a complex Flutter UI in under 30 minutes — a task that normally takes hours of manual coding.</p><h3>Crafting Effective AI Prompts for Perfect Code</h3><p>The key to getting great results from Cursor (or any AI) is writing clear, detailed prompts. Describe exactly what you want the code or UI to do.</p><p>For example, if you need a new widget or function, include context like data types, file locations, and even tests.</p><p>Consider this prompt from a Flutter developer:</p><blockquote>“Create a Flutter function that converts a markdown string to a widget tree for rendering in a RichText widget. Write tests first, then the implementation, and run flutter test to ensure all tests pass.”</blockquote><p>This single prompt tells the AI:</p><p>(1) what to build (a markdown parser),</p><p>(2) to use Flutter’s testing framework, and</p><p>(3) to validate correctness.</p><p>The cursor will then automatically generate a test file and code, iterating until flutter test passes.</p><p>By specifying tests and a workflow, you guide the AI to produce robust, working code.</p><h4>Here are some best-practice prompting tips:</h4><ul><li>Be specific about UI details. Mention layouts, widget names, styles, or constraints. E.g., “Create a row with two text widgets, center-aligned on the screen.”</li><li>Include commands and tests. If using Cursor’s YOLO mode (explained below), you can have the AI run flutter test or flutter analyze as part of the prompt to automatically fix errors.</li><li>Iterate with follow-ups. If the output isn’t perfect, refine your prompt. For example: “Focus on handling bold and italic markdown syntax only. Update the RichText widget accordingly.” This helps guide the AI’s next attempt.</li><li>Use Prompt “Modes”. Cursor offers modes like <em>YOLO</em> (You Only Look Once), where the AI is allowed to execute and test the code. Enable it to let Cursor fix errors automatically.</li></ul><p>By carefully crafting prompts that include requirements and context, you can achieve nearly 100% accurate UI layouts and boilerplate code. In the example above, the developer wrote tests first, ensuring the AI wouldn’t stop until all cases passed. In practice, good prompts often mean much less manual editing later.</p><h3>Harnessing Cursor’s AI Features:</h3><h4>Beyond prompts, Cursor has features to streamline coding:</h4><ul><li>YOLO Mode: A standout feature, YOLO mode lets the AI run CLI commands like flutter build or flutter test and iteratively fix issues. For example, once flutter analyze flags a type error, the Cursor can automatically correct it and re-run the analysis until the code compiles cleanly. This <em>automates debugging</em> during generation.</li><li>Natural-Language Edits: Highlight code and press a shortcut (like Cmd+K) to <em>transform code by description</em>. You might select a Text widget and say “make this bold,” and Cursor updates it immediately.</li><li>AI Commit Messages: After coding, Cursor can propose commit messages summarizing your changes great for documentation.</li><li>Bug Finder: Cursor can scan your branch against main to detect issues. For Flutter, it might warn about missing key props or layout problems. Use it before code review.</li></ul><p>These tools mean Cursor isn’t just writing new code; it’s acting like an AI pair programmer.</p><p>It catches errors, suggests improvements, and even explains code if you ask (e.g. “Why is this setState causing flicker?”). Importantly, while Cursor generates code, you still review the output.</p><p>Many experts suggest the ideal developer is one who <em>uses</em> Cursor effectively — understanding Flutter fundamentals and then letting AI handle repetitive tasks.</p><h4>Quick Workflow Summary:</h4><ol><li>Set up YOLO mode (Settings → toggle YOLO) so Cursor can run Flutter commands.</li><li>Start a project (flutter create or open existing code).</li><li>Design UI in Figma or FlutterFlow, import to code, then prompt Cursor to implement it.</li><li>Generate logic: ask Cursor to write data models, functions, or tests (as in the markdown example).</li><li>Test and refine: Let Cursor run flutter test and fix failures automatically, or manually prompt fixes.</li><li>Review &amp; iterate: Check the code, tweak prompts, and polish as needed.</li></ol><p>Following this loop can turn tasks that once took hours (like wiring up app logic or repetitive widget code) into minutes of AI-driven work.</p><h3>Conclusion</h3><p>AI-powered coding assistants like Cursor are transforming app development. With Cursor, you can skip much of the boilerplate and focus on high-level design. By combining design tools (Figma/FlutterFlow) and smart prompts, you can build full Flutter interfaces in under 30 minutes — complete with working code and tests.</p><p>Remember to enable features like YOLO mode to let the AI run and verify the code for you, and always craft precise prompts for best results.</p><p>As one Flutter pro put it, Cursor is a “game-changer for Flutter development” that lets teams ship apps faster without sacrificing quality. Try these tips in your next project: set up Cursor, drop in a design, write a clear prompt, and watch the code come alive. The future of Flutter coding is AI-assisted — and it’s arriving now.</p><blockquote><strong>Found this guide helpful?</strong> Give it a 👏 to show some love!</blockquote><blockquote>Got your own favorite tools, AI prompts, or UI hacks? Drop them in the comments — I’m always excited to learn from fellow devs across Flutter, Android, iOS, React Native, or Web.</blockquote><blockquote>Let’s build smarter, faster, and together. 🚀</blockquote><blockquote><strong>Follow me</strong> for more deep-dive guides on AI + frontend dev. Your next 30-minute project might just go live today! 🔥</blockquote><p><em>Everything in this publication is made with care by a tight-knit team of engineers, dreamers, and problem-solvers at reverseBits. Peek into our world at</em></p><p><a href="https://www.reversebits.tech/">Home - reverseBits</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23ed866f72fb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/reversebits/accelerate-flutter-ui-development-with-cursor-ai-build-uis-and-boilerplates-in-minutes-23ed866f72fb">Accelerate Flutter UI Development with Cursor AI: Build UIs and Boilerplates in Minutes</a> was originally published in <a href="https://medium.com/reversebits">reverseBits</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Ultimate Guide to Flutter’s Most Useful Packages — Part 2]]></title>
            <link>https://medium.com/reversebits/the-ultimate-guide-to-flutters-most-useful-packages-part-2-5432f351b270?source=rss-eab786a8776c------2</link>
            <guid isPermaLink="false">https://medium.com/p/5432f351b270</guid>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[flutter-web]]></category>
            <dc:creator><![CDATA[Rakesh Lakum]]></dc:creator>
            <pubDate>Sun, 06 Jul 2025 10:45:16 GMT</pubDate>
            <atom:updated>2025-07-08T01:44:43.837Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Ultimate Guide to Flutter’s Most Useful Packages — Part 2</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aGRT_lFOjs_3FQDQbx0yKQ.png" /></figure><p>While continuing my Flutter journey, I found a few more packages that helped me build better apps, faster. These tools aren’t just handy, they’ve made my codebase cleaner, navigation simpler, and layouts more responsive without adding unnecessary complexity.</p><blockquote>📝 <strong>Missed Part 1?</strong><br> I covered packages like melos, dio, and envied that help manage monorepos, networking, and environment variables.<br><a href="https://medium.com/p/e39a5334451f"> 👉 Read Part 1 here</a></blockquote><p>In this follow-up to my first blog, I’m sharing another round of packages that have genuinely improved my productivity. Again, these are not just for show — I’ve used each one in real projects, and they’re now part of my go-to toolkit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*LHIVb_IFDg9xvOs57o1Odg.png" /></figure><p>Let’s dive in. 👇</p><h3>1. flutter_gen (Asset, Font, and Color Auto-Generator)</h3><p>When working with lots of assets (images, icons, fonts, etc.), manually typing paths is risky and messy.</p><p>flutter_gen generates Dart code for all your assets automatically, so you can use them safely with autocompletion.</p><p>This avoids typos and makes refactoring easier. I now use it in all my projects where assets grow beyond a few files.</p><pre>Image.asset(Assets.images.logo.path); // instead of &#39;assets/images/logo.png&#39;</pre><p>Just run flutter pub run build_runner build after setup, and everything gets generated for you.</p><p><a href="https://pub.dev/packages/flutter_gen">flutter_gen | Dart package</a></p><h3><strong>2. intl (Internationalization and Formatting)</strong></h3><p>If you’re building an app for a global audience or even just want to format currency and dates properly, intl is essential. It helps translate your UI into different languages and handles regional number/date formats.</p><p>I’ve used it in apps that needed multi-language support and for things like currency conversion displays.</p><pre>import &#39;package:intl/intl.dart&#39;;<br><br>final price = NumberFormat.currency(locale: &#39;en_US&#39;, symbol: &#39;\$&#39;).format(1500);<br>// Output: $1,500.00</pre><p>You can also localize your entire app with arb files and flutter_localizations</p><p><a href="https://pub.dev/packages/intl">https://pub.dev/packages/intl</a></p><h3>3. cached_network_image (Image Caching for Performance)</h3><p>In apps where images load from the internet (like product listings or user avatars), cached_network_image is a lifesaver.</p><p>It loads images from cache on repeat visits, saving bandwidth and improving speed.</p><p>Whenever I use a remote image, I wrap it in this widget.</p><pre>CachedNetworkImage(<br>  imageUrl: &#39;https://example.com/user-avatar.png&#39;,<br>  placeholder: (context, url) =&gt; CircularProgressIndicator(),<br>  errorWidget: (context, url, error) =&gt; Icon(Icons.error),<br>)</pre><p><a href="https://pub.dev/packages/cached_network_image">cached_network_image | Flutter package</a></p><h3><strong>4. auto_route (Typed Routing System)</strong></h3><p>Flutter’s default Navigator is fine, but when routes get complex, auto_route really helps.</p><p>It gives you a declarative and strongly typed navigation system, which reduces bugs and improves code readability.</p><p>I love how easy it makes deep linking and nested navigation.</p><pre>@MaterialAutoRouter(<br>  routes: &lt;AutoRoute&gt;[<br>    AutoRoute(page: HomePage, initial: true),<br>    AutoRoute(page: DetailsPage),<br>  ],<br>)</pre><pre>context.router.push(DetailsRoute(id: 42));</pre><p><a href="https://pub.dev/packages/auto_route">auto_route | Flutter package</a></p><h3>5. flutter_hooks (Cleaner Stateful Widgets)</h3><p>If you’re tired of writing boilerplate code in StatefulWidgets, flutter_hooks will be your friend. It brings React-like hooks to Flutter.</p><p>For me, it simplifies logic inside widgets and makes the code easier to maintain.</p><pre>class MyHookWidget extends HookWidget {<br>  @override<br>  Widget build(BuildContext context) {<br>    final counter = useState(0);<br><br>    return Column(<br>      children: [<br>        Text(&#39;Count: ${counter.value}&#39;),<br>        ElevatedButton(<br>          onPressed: () =&gt; counter.value++,<br>          child: Text(&#39;Increment&#39;),<br>        ),<br>      ],<br>    );<br>  }<br>}</pre><p><a href="https://pub.dev/packages/flutter_hooks">flutter_hooks | Flutter package</a></p><h3>6. flutter_screenutil (Responsive Sizing)</h3><p>Different screen sizes can break your UI if you don’t handle scaling properly.</p><p>flutter_screenutil makes it easy to define width, height, padding, and font sizes that adapt to the device screen.</p><p>I use it to maintain a consistent design across phones and tablets.</p><pre>ScreenUtilInit(<br>  designSize: Size(375, 812),<br>  builder: (context, child) =&gt; MaterialApp(home: MyHomePage()),<br>);</pre><p>Then use like this:</p><pre>Container(<br>  width: 100.w,  // scales based on screen width<br>  height: 50.h,<br>  padding: EdgeInsets.all(10.r),<br>)</pre><p><a href="https://pub.dev/packages/flutter_screenutil">flutter_screenutil | Flutter package</a></p><h3>7. responsive_framework (Breakpoint-Based Layouts)</h3><p>If your app targets multiple form factors like mobile, tablet, or web, responsive_framework helps you define breakpoints and adapt layouts cleanly.</p><p>I’ve used it when building admin dashboards and apps with tablet support.</p><pre>ResponsiveWrapper.builder(<br>  child,<br>  breakpoints: [<br>    ResponsiveBreakpoint.resize(350, name: MOBILE),<br>    ResponsiveBreakpoint.autoScale(600, name: TABLET),<br>    ResponsiveBreakpoint.resize(1024, name: DESKTOP),<br>  ],<br>);</pre><p>It wraps your app with logic that automatically scales or resizes widgets as needed.</p><p><a href="https://pub.dev/packages/responsive_framework">responsive_framework | Flutter package</a></p><p>That’s it for now. These packages can really help take your Flutter apps to the next level, whether it’s making your UI responsive, improving navigation, or simplifying asset management.</p><p>Each one of these tools has saved me time, reduced bugs, and made my codebase cleaner. If you haven’t tried them yet, I highly recommend giving them a shot in your next project.</p><p>And as always, keep exploring. The Flutter ecosystem is evolving fast, and there’s always a new package out there that might solve a problem you didn’t even know you had.</p><blockquote>Found this guide helpful? Give it a clap 👏 to support the content, and don’t forget to share your own favorite libraries — I’d love to explore new tools that can help us all become better developers!</blockquote><p><em>Everything in this publication is made with care by a tight-knit team of engineers, dreamers, and problem-solvers at reverseBits. Peek into our world at</em></p><p><a href="https://www.reversebits.tech/">Home - reverseBits</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5432f351b270" width="1" height="1" alt=""><hr><p><a href="https://medium.com/reversebits/the-ultimate-guide-to-flutters-most-useful-packages-part-2-5432f351b270">The Ultimate Guide to Flutter’s Most Useful Packages — Part 2</a> was originally published in <a href="https://medium.com/reversebits">reverseBits</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Keeping Apps Stable: Using Crashlytics in 2025]]></title>
            <link>https://medium.com/reversebits/keeping-apps-stable-using-crashlytics-2025-0a8efa690c34?source=rss-eab786a8776c------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a8efa690c34</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[crashlytics]]></category>
            <dc:creator><![CDATA[Rakesh Lakum]]></dc:creator>
            <pubDate>Mon, 02 Jun 2025 18:32:29 GMT</pubDate>
            <atom:updated>2025-06-21T07:29:42.820Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GvQIQ_P_L2TNE1HR" /><figcaption>Photo by <a href="https://unsplash.com/@markusspiske?utm_source=medium&amp;utm_medium=referral">Markus Spiske</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In 2025, users expect polished, seamless app experiences. A single crash can lead to poor reviews, uninstalls, and even brand damage. Whether you’re building with <strong>Flutter, Kotlin, Swift, React, or JavaScript</strong>, Crashlytics is a must-have in your stability toolkit.</p><p>In this post, let’s explore how to use Crashlytics effectively, from setup to DevOps integration, with a few AI-powered upgrades for the modern stack.</p><h3>Introduction to Crashlytics</h3><p><strong>Firebase Crashlytics</strong> is a lightweight, real-time crash reporting tool by Google that helps you:</p><ul><li>Detect and diagnose app crashes across Android, iOS, and web platforms.</li><li>Understand how crashes impact users.</li><li>Prioritize and fix issues quickly, without waiting for user complaints.</li></ul><p><strong>Why it matters in 2025:</strong><br>Apps are released fast and updated frequently. Stability is the backbone of user trust, especially when your app is global and runs on thousands of device variations.</p><h3>How Crashlytics Works</h3><p><strong>1. Crash Detection:</strong><br>It listens for unhandled exceptions, native crashes (NDK), and even nonfatal issues. It catches:</p><ul><li>Crashes on the main and background threads.</li><li>Out-of-memory errors.</li><li>ANRs (App Not Responding) on Android.</li></ul><p><strong>2. Local Storage and Transmission:</strong><br>Crash reports are stored locally if the app crashes immediately. On the next launch, they’re silently uploaded to Firebase servers.</p><p><strong>3. Crash Grouping and Console Analysis:</strong><br>Crashlytics groups crashes by stack trace fingerprints. In the Firebase Console, you’ll see:</p><ul><li>Issue cards are sorted by frequency and severity.</li><li>A breakdown of affected devices, OS versions, and app builds.</li><li>Timeline graphs and regression indicators.</li></ul><h3>Data Captured by Crashlytics</h3><p>Crashlytics automatically collects:</p><p><strong>Stack traces &amp; exceptions:</strong> Full thread info, class names, and line numbers.</p><p><strong>Device info:</strong> OS version, manufacturer, orientation, free memory/storage, and battery state.</p><p><strong>Custom context:</strong> Using developer-added log(), setCustomKey(), and setUserId().</p><p>This combination lets you <strong>retrace what led to the crash</strong>, even if you weren’t there to see it.</p><h3>Utilizing Custom Logging</h3><p>Add more insight by logging app-specific data:</p><ul><li>FirebaseCrashlytics.instance.log(&quot;User tapped Submit on Login screen&quot;);</li><li>setCustomKey(&#39;cart_items&#39;, cart.length);</li><li>setUserId(&#39;user_98765&#39;);</li></ul><p>These tools help <strong>tell the story behind the crash</strong>, such as what screen was active, which API call failed, or how many items were in a cart.</p><h3>Best Practices for Logging</h3><p><strong>1. Log only what matters:</strong> Key interactions, API states, or navigation flows.</p><p><strong>2. Don’t log sensitive data:</strong> Avoid usernames, passwords, tokens, and anything protected under GDPR or CCPA.</p><p><strong>3. Make it readable:</strong> Logs like “User clicked Btn1” are less helpful than “User tapped ‘Confirm Order’ on Cart screen.”</p><h3>Real-Time Monitoring Tools</h3><ul><li><strong>Alerts:</strong> Setup alerts in the Firebase Console for sudden crash spikes.</li><li><strong>Slack integration:</strong> Get notified in your team’s channel when something critical breaks.</li><li><strong>Crash timelines:</strong> Detect version-specific bugs or regressions after a new release.</li></ul><h3>Integrating Crashlytics into DevOps</h3><p>Modern teams should automate stability checks:</p><ul><li><strong>CI/CD Integration:</strong> Post-release crash monitoring tied into your deployment pipeline.</li><li><strong>Jira Integration:</strong> Auto-create bug tickets for new or recurring crashes.</li><li><strong>BigQuery Export:</strong> Move crash data to BigQuery for deep analysis and custom dashboards.</li></ul><h3>Monitoring Key Metrics</h3><p>Track these vital signs in the Firebase Console:</p><p><strong>Crash-Free Users (%):</strong> The higher, the better. Firebase visualizes this per version.</p><ul><li><strong>Session Stability:</strong> Understand if crashes are occurring early or late in a user session.</li><li><strong>High-Impact Crashes:</strong> Find the bugs affecting the most users and fix them first.</li></ul><h3>Enhancing Observability</h3><p>Combine Crashlytics with performance tools:</p><ul><li>Use <strong>Firebase Performance Monitoring</strong> to correlate slow operations with crash reports.</li><li>Build <strong>dashboards</strong> in Looker Studio or Grafana from BigQuery data.</li><li>Detect anomalies early — like memory leaks or ANRs — before users feel the pain.</li></ul><h3>Effective Crash Reporting</h3><ul><li>Fix the <strong>most impactful crashes</strong> first, not just the ones easiest to reproduce.</li><li>Regularly <strong>audit your custom logs and keys</strong> to ensure they reflect the current app flow.</li><li>Test edge cases and simulate crash flows to see if reporting works as expected.</li></ul><h3>Maintaining Data Privacy</h3><p>Crashlytics is powerful, but respect privacy:</p><ul><li><strong>Comply with GDPR &amp; CCPA:</strong> Avoid logging user PII.</li><li><strong>Anonymize data:</strong> Use hashed IDs or generic labels.</li><li><strong>Train teams:</strong> Developers should understand what’s safe to log and what isn’t.</li></ul><h3>Continuous Improvement</h3><ul><li>Use crash data to guide what features need more polish.</li><li>Add <strong>stability checks</strong> to your code reviews.</li><li>Stay current with <strong>Crashlytics SDK updates</strong> and new features, like AI-powered issue insights.</li></ul><h3>How AI Helps in Crashlytics 2025</h3><p>Firebase is rolling out <strong>AI-powered crash grouping and prioritization</strong>:</p><ul><li>Clusters of similar crashes using machine learning, even if the stack traces differ slightly.</li><li>Suggests root causes or similar issues found across apps.</li><li>Enables smarter alerts and even code fix suggestions (coming soon in Firebase AI Assist).</li></ul><p>By exporting to BigQuery, you can also apply custom <strong>ML models</strong> to detect unusual crash patterns, predict risky builds, or flag unstable sessions before users report them.</p><blockquote><strong>Found this guide helpful? Hit that clap 👏 to show some love!</strong><br> In 2025, keeping apps stable means working smarter with tools like Crashlytics. Fewer crashes = better user experience.</blockquote><blockquote>Share this with your dev crew and let’s keep building faster, stabler, and smarter apps — together! 🚀</blockquote><p><em>Everything in this publication is made with care by a tight-knit team of engineers, dreamers, and problem-solvers at reverseBits. Peek into our world at</em></p><p><a href="https://www.reversebits.tech/">Home - reverseBits</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a8efa690c34" width="1" height="1" alt=""><hr><p><a href="https://medium.com/reversebits/keeping-apps-stable-using-crashlytics-2025-0a8efa690c34">Keeping Apps Stable: Using Crashlytics in 2025</a> was originally published in <a href="https://medium.com/reversebits">reverseBits</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Ultimate Guide to Flutter’s Most Useful Packages]]></title>
            <link>https://medium.com/reversebits/the-ultimate-guide-to-flutters-most-useful-packages-e39a5334451f?source=rss-eab786a8776c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e39a5334451f</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[mobile-apps]]></category>
            <category><![CDATA[flutter-widget]]></category>
            <dc:creator><![CDATA[Rakesh Lakum]]></dc:creator>
            <pubDate>Fri, 25 Apr 2025 11:48:00 GMT</pubDate>
            <atom:updated>2025-07-08T08:40:49.319Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*LHIVb_IFDg9xvOs57o1Odg.png" /></figure><p>While working on different Flutter projects, I came across some libraries that really made my life easier. Instead of building everything from scratch, I found that using the right packages can save a lot of time and help avoid common issues.</p><p>In this blog, I’m listing down the libraries I use the most — for things like state management, API handling, navigation, animations, and UI components.</p><p>These are not just random packages, but ones I’ve actually used in real projects. I’ll explain why I picked them, how they helped, and maybe share a few small code examples.</p><p>If you’re also working with Flutter and looking for tools that can speed up your development or improve your code quality, you might find something useful here. Hope it helps!</p><blockquote>🔥 <strong>Loved this guide?</strong><br> In <strong>Part 2</strong>, I explore even more powerful Flutter packages like flutter_gen, intl, cached_network_image, and more — complete with code examples and personal tips.<br> <a href="https://medium.com/p/5432f351b270">👉 <strong>Read Part 2 here →</strong></a></blockquote><h3>1. Melos (monorepo management tool)</h3><p>Melos is a very useful tool for managing flutter projects that follow a monorepo structure. when a project has multiple dart or flutter packages like separate feature modules, shared components, or utilities, melos helps keep everything organized.</p><p>It allows developers to run commands across all packages at once, saving time and avoiding repetitive work. with just one command like melos bootstrap, it installs dependencies and links local packages automatically, it also helps maintain consistency and reduces errors when working with many packages. for teams or individual developers building modular apps, melos is a great tool to include in the workflow.</p><p><a href="https://pub.dev/packages/melos">melos | Dart package</a></p><h3><strong>2. Dio (HTTP client for Dart)</strong></h3><p>Dio is a powerful HTTP client for Dart and Flutter, perfect for working with network requests. It’s great for handling APIs and covers everything from basic GET/POST requests to more advanced stuff like uploading and downloading files. Dio is especially useful when your app needs more control over its network operations.</p><p>It offers a lot of features, like interceptors to handle requests or responses globally, global configuration for things like base URLs and timeouts, and support for multipart form data (helpful for file uploads).</p><p>You can also cancel requests and track progress for downloads and uploads. If you’re dealing with complex networking tasks in your app, Dio is definitely a tool you’ll want to check out.</p><p><a href="https://pub.dev/packages/dio">dio | Dart package</a></p><h3><strong>3. </strong>envied (Environment Variables for Dart with Compile-Time Safety)</h3><p>The <strong>envied</strong> package helps you securely manage environment variables in your Dart or Flutter project. It provides compile-time safety, meaning that your environment variables are checked during the compilation process, reducing the risk of runtime errors due to missing or incorrect variables.</p><p>With <strong>envied</strong>, you can access environment variables with type safety and ensure that they are properly defined at build time.</p><p>It works by generating code that maps your environment variables into Dart constants, making it easy to work with them in your app. It’s great for managing sensitive data and configurations across different environments, and it ensures you’re always working with the right values, configurations organized.</p><h4>To use the <strong>env</strong> package, follow these steps:</h4><ol><li>Add the package to your pubspec.yaml:</li><li>Create a .env file in the root directory of your project:</li></ol><pre>API_KEY=your_api_key_here<br>DATABASE_URL=your_database_url_here</pre><p>3. Define your environment variables in a Dart class:</p><pre>import &#39;package:envied/envied.dart&#39;;<br><br>part &#39;env.g.dart&#39;;<br><br>@Envied()<br>abstract class Env {<br>  static const String apiKey = _Env.apiKey;<br>  static const String dbUrl = _Env.dbUrl;<br>}atabase URL: $dbUrl&#39;);<br>}</pre><p>4. Run build_runner to generate the code:</p><pre>flutter pub run build_runner build</pre><p>5. Access the environment variables:</p><pre>void main() {<br>  print(Env.apiKey); // Prints the value of API_KEY from the .env file<br>  print(Env.dbUrl);  // Prints the value of DATABASE_URL from the .env file<br>}</pre><p><a href="https://pub.dev/packages/envied">envied | Dart package</a></p><h3><strong>4. get_it (Service Locator for Dart and Flutter)</strong></h3><p>The get_it package is a simple service locator for Dart and Flutter. It’s useful for managing dependencies in a clean and efficient way. Instead of passing objects around manually, you can register and retrieve instances globally using get_it. This helps decouple classes from each other, making your code easier to maintain and test.</p><p>It’s commonly used for managing services like network clients, databases, or even global settings that need to be accessed throughout the app.</p><p>With get_it, you can register your dependencies once and easily access them from anywhere in your app, which is especially helpful for large projects where dependency management becomes more complex.</p><h4>Use case in Flutter:</h4><ol><li>Add the package to your pubspec.yaml:</li><li>Set up a service or object to register:</li></ol><pre>class ApiService {<br>  void fetchData() {<br>    print(&quot;Fetching data...&quot;);<br>  }<br>}</pre><p>3. Register the service in the get_it instance:</p><pre>import &#39;package:get_it/get_it.dart&#39;;<br><br><br>final getIt = GetIt.instance;<br>void setup() {<br>  getIt.registerSingleton&lt;ApiService&gt;(ApiService());<br>}</pre><p>4. Access the service anywhere in your app:</p><pre>void main() {<br>  setup();  // Register the services<br>// Access the ApiService using get_it<br>  getIt&lt;ApiService&gt;().fetchData();  // Prints: Fetching data...<br>}</pre><p>With get_it, you can easily manage your app’s dependencies without the need for a heavy framework, making it ideal for both small and large Flutter projects.</p><p><a href="https://pub.dev/packages/get_it">get_it | Dart package</a></p><h3><strong>5. </strong>hive_ce (Lightweight and Fast NoSQL Database for Flutter)</h3><p><strong>hive_ce</strong> is a lightweight and fast NoSQL database for Flutter and Dart, ideal for local data storage in mobile apps. It’s a community-maintained fork of Hive with ongoing support, performance improvements, and bug fixes.</p><p><strong>hive_ce</strong> is perfect for storing structured data such as user preferences, app settings, and other small to medium-sized datasets. It excels in scenarios where offline storage is essential or when a simple, efficient local database is required.</p><p><strong>hive_ce</strong> is also incredibly fast, uses no native dependencies, and supports encryption, making it a great choice for storing sensitive data in a secure and efficient way.</p><h4>Simple Use Case in Flutter:</h4><ol><li>Add the package to your pubspec.yaml:</li><li>Initialize Hive and open a box:</li></ol><pre>import &#39;package:hive_ce/hive_ce.dart&#39;;<br>import &#39;package:hive_flutter_ce/hive_flutter_ce.dart&#39;;<br><br>void main() async {<br>  await Hive.initFlutter();<br><br>  var box = await Hive.openBox(&#39;myBox&#39;);<br><br>  // Store data in the box<br>  box.put(&#39;name&#39;, &#39;John Doe&#39;);<br>  box.put(&#39;age&#39;, 30);<br><br>  // Retrieve data from the box<br>  var name = box.get(&#39;name&#39;);<br>  var age = box.get(&#39;age&#39;);<br>  <br>  print(&#39;Name: $name, Age: $age&#39;);<br>}</pre><p>3. Close the box when you’re done:</p><pre>await box.close();</pre><p><a href="https://pub.dev/packages/hive_ce">hive_ce | Dart package</a></p><h3>6. <strong>logger (Simple Logging Utility for Dart and Flutter)</strong></h3><p>Logger is a simple and handy logging tool for Dart and Flutter projects. It helps you print clean, formatted logs while developing or debugging your app.</p><p>Instead of using plain print() statements, logger gives you levels like info, debug, warning, error, and more. This makes it easier to spot issues and organize log output.</p><p>You can also customize how the logs appear — with colors, emojis, timestamps, and more. It’s really useful in bigger projects where structured logging helps track down problems faster.</p><p>It keeps your console output cleaner and more professional compared to regular print logs. Logger is perfect for development and debugging, helping you keep track of what’s happening in your app in a clean and organized way.</p><pre>import &#39;package:logger/logger.dart&#39;;<br><br>final logger = Logger();<br><br>void main() {<br>  logger.i(&#39;This is an info message&#39;);<br>  logger.w(&#39;This is a warning&#39;);<br>  logger.e(&#39;This is an error&#39;);<br>  logger.d(&#39;This is a debug log&#39;);<br>}<br></pre><p><a href="https://pub.dev/packages/logger">logger | Dart package</a></p><h3>7. <strong>freezed (Code Generation for Immutable Data Classes and Unions)</strong></h3><p>Freezed is a code generator package that helps you create immutable data classes in Dart. It saves you from writing repetitive boilerplate code for things like equality checks, copyWith, toString, and more.</p><p>It also supports union types (sealed classes), which makes it super useful for handling things like API states (loading, success, error) in a clean and readable way.</p><p>With freezed, your models become easy to manage and more maintainable, especially in large apps. It works well with state management solutions like Bloc, Riverpod, and others. Overall, it helps keep your code neat, clear, and consistent when dealing with data and state.</p><ol><li>Add to your pubspec.yaml:</li></ol><pre>dependencies:<br>  freezed_annotation: ^2.0.0<br><br>dev_dependencies:<br>  build_runner: ^2.0.0<br>  freezed: ^2.0.0</pre><p>2. Create a model using freezed:</p><pre>import &#39;package:freezed_annotation/freezed_annotation.dart&#39;;<br><br>part &#39;user.freezed.dart&#39;;<br><br>@freezed<br>class User with _$User {<br>  const factory User({<br>    required String name,<br>    required int age,<br>  }) = _User;<br>}</pre><p>3. Run build_runner to generate code:</p><pre>flutter pub run build_runner build</pre><p>4. Use your data class:</p><pre>final user = User(name: &#39;Alice&#39;, age: 25);<br>final updatedUser = user.copyWith(age: 30);</pre><p>Freezed makes it super easy to work with models, especially when you want everything to be clean, safe, and less repetitive.</p><p><a href="https://pub.dev/packages/freezed">freezed | Dart package</a></p><h3>8. <strong>change_app_package_name (Tool to Change Android Package Name in Flutter)</strong></h3><p>change_app_package_name is a simple command-line tool that helps you easily change the Android package name of your Flutter project.</p><p>Normally, updating the package name involves editing multiple files manually, which can be time-consuming and error-prone. This package automates the process and changes the package name across all the required places in just one step.</p><p>It’s super helpful when you want to clone a project, create different versions of an app (like dev or production), or just organize things properly for publishing. Saves a lot of time and avoids manual mistakes.</p><h4>How to use:</h4><ol><li>Add the package globally (optional but helpful):</li></ol><pre>flutter pub global activate change_app_package_name</pre><p>2. Run the command to change your package name:</p><pre>flutter pub run change_app_package_name:main com.example.package.name</pre><p><a href="https://pub.dev/packages/change_app_package_name">change_app_package_name | Dart package</a></p><p>That’s it for now. These packages can really help make your Flutter development smoother and more organized.</p><p>Whether you’re handling networking, local storage, environment variables, or managing state, there’s always a package that saves time and avoids writing the same code again and again.</p><p>Try them out in your next project — you’ll see the difference. And as always, keep exploring new tools, because Flutter’s ecosystem is growing fast and there’s always something new to learn.</p><blockquote><em>Found this guide helpful? Give it a clap 👏 to support the content, and don’t forget to share your own favorite libraries — I’d love to explore new tools that can help us all become better developers!</em></blockquote><p><em>Everything in this publication is made with care by a tight-knit team of engineers, dreamers, and problem-solvers at reverseBits. Peek into our world at</em></p><p><a href="https://www.reversebits.tech/">Home - reverseBits</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e39a5334451f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/reversebits/the-ultimate-guide-to-flutters-most-useful-packages-e39a5334451f">The Ultimate Guide to Flutter’s Most Useful Packages</a> was originally published in <a href="https://medium.com/reversebits">reverseBits</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>