<?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 Imran B on Medium]]></title>
        <description><![CDATA[Stories by Imran B on Medium]]></description>
        <link>https://medium.com/@imranbabuji162002?source=rss-b5e3575d07b9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kwEFzfYD4ECcKb9_0sIlXA.jpeg</url>
            <title>Stories by Imran B on Medium</title>
            <link>https://medium.com/@imranbabuji162002?source=rss-b5e3575d07b9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 11:49:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@imranbabuji162002/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[ Envied Package in Flutter — Environment Variable Management]]></title>
            <link>https://medium.com/nammaflutter/envied-package-in-flutter-environment-variable-management-90be61c1cca6?source=rss-b5e3575d07b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/90be61c1cca6</guid>
            <dc:creator><![CDATA[Imran B]]></dc:creator>
            <pubDate>Sun, 29 Jun 2025 05:26:03 GMT</pubDate>
            <atom:updated>2025-06-29T06:04:43.618Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jfpP-rBHjqLNPQ_-.jpeg" /></figure><h3>🌱 Envied Package in Flutter — Environment Variable Management</h3><h3>🧩 What is envied?</h3><p>envied is a <strong>secure and efficient</strong> Dart package for managing environment variables in Flutter projects. It allows you to:</p><ul><li>Separate secrets like API keys, URLs, tokens from your codebase.</li><li>Keep environment-specific configurations (dev, staging, prod).</li><li>Safely <strong>exclude secrets from version control</strong> using .gitignore.</li></ul><h3>✅ Why use envied?</h3><ul><li>🔒 <strong>Security</strong> — Keeps secrets out of source code.</li><li>🔧 <strong>Environment flexibility</strong> — Different .env values per build flavor.</li><li>🚀 <strong>Compile-time safety</strong> — Errors surface at build time.</li><li>🛡️ <strong>Obfuscation support</strong> — With Dart’s -obfuscate flag, values stay hidden.</li></ul><h3>📦 Installation</h3><p>Add to pubspec.yaml:</p><pre>dependencies:<br>  envied: ^0.5.0</pre><pre>dev_dependencies:<br>  build_runner: ^2.4.0<br>  envied_generator: ^1.1.1</pre><p>⚠️ Make sure to add .env to .gitignore:</p><pre>.env</pre><h3>2. Create your env.dart file</h3><pre>import &#39;package:envied/envied.dart&#39;;<br><br>part &#39;env.g.dart&#39;;<br><br>@Envied(path: &#39;.env&#39;, obfuscate: true)<br>abstract class Env {<br>  @EnviedField(varName: &#39;API_KEY&#39;)<br>  static final String apiKey = _Env.apiKey;<br><br>  @EnviedField(varName: &#39;BASE_URL&#39;)<br>  static String baseUrl = _Env.baseUrl;<br><br>  @EnviedField(varName: &#39;PASSWORD_KEY&#39;)<br>  static String passwordKey = _Env.passwordKey;<br>}</pre><h3>3. Generate code</h3><p>Run the following in your terminal:</p><pre>flutter pub run build_runner build --delete-conflicting-outputs</pre><h3>🧪 Usage</h3><pre>import &#39;env/env.dart&#39;;</pre><pre>print(Env.apiKey); // → dummy_api_key_123456</pre><p>You can now safely access your environment variables anywhere in your app.</p><h3>🔐 Bonus: Enable Obfuscation</h3><p>To make environment values harder to extract:</p><pre>flutter build apk --release --obfuscate --split-debug-info=build/info</pre><h3>🧠 What each flag means:</h3><p>Flag Description --release Builds the APK in release mode (optimized for performance and size). --obfuscate Obfuscates Dart symbols (like function, class, and variable names) to make reverse engineering harder. --split-debug-info=build/info Stores debug symbols in a separate folder (instead of inside the APK) so your release APK is smaller and safe for distribution. These symbols are used to <strong>decode stack traces</strong> later.</p><h3>🧼 Best Practices</h3><ul><li>Never commit .env to GitHub.</li><li>Use separate .env files for dev and prod.</li><li>Use const for static variables to leverage tree shaking and compile-time optimizations.</li></ul><p>The project is pushed to GitHub for reference and review.</p><p>🔗 <strong>GitHub Repository:</strong><a href="https://github.com/Imran200216/Envied_learning.git"><strong> </strong></a><a href="https://github.com/Imran200216/Envied_learning.git">https://github.com/Imran200216/Envied_learning.git</a></p><p>A good go-to?<br> <strong>👉 “Happy Fluttering! 🚀💙”</strong> — simple, recognizable, and community-loved.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90be61c1cca6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nammaflutter/envied-package-in-flutter-environment-variable-management-90be61c1cca6">🌱 Envied Package in Flutter — Environment Variable Management</a> was originally published in <a href="https://medium.com/nammaflutter">NammaFlutter</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adding an Avatar Glow Effect in Flutter]]></title>
            <link>https://medium.com/@imranbabuji162002/adding-an-avatar-glow-effect-in-flutter-681a9e38fd61?source=rss-b5e3575d07b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/681a9e38fd61</guid>
            <dc:creator><![CDATA[Imran B]]></dc:creator>
            <pubDate>Tue, 12 Nov 2024 16:16:16 GMT</pubDate>
            <atom:updated>2024-11-12T16:16:16.883Z</atom:updated>
            <content:encoded><![CDATA[<h3>Adding an Avatar Glow Effect in Flutter⭐</h3><p>In this blog, I’ll show you how to create a glowing effect around an avatar image in Flutter. The avatar glow effect can be used to draw attention to the user’s profile picture or any circular widget. We’ll achieve this using a package that provides a simple and customizable way to create glowing effects.</p><h3>What You’ll Learn</h3><ul><li>How to add a glowing effect to an avatar image.</li><li>How to customize the glow to suit your design.</li></ul><h3>Step 1: Add avatar_glow Package</h3><p>The avatar_glow package provides a simple widget to create a glowing effect. Open your pubspec.yaml file and add this line under dependencies:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y6SVg9QgwWoFlzA1s5hfvA.png" /></figure><p>Run flutter pub get to install the package.</p><h3>Step 2: Create a Glowing Avatar Widget</h3><p>Inside your main.dart file, create a HomeScreen widget. Here, we’ll add an avatar image and apply a glowing effect to it using the AvatarGlow widget from the package.</p><p>Here’s the complete code to set up a glowing avatar in Flutter:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AGihGooJDU5y4sBjRD6s5A.png" /></figure><h3>Step 3: Customize the Glow Effect</h3><p>The AvatarGlow widget provides several parameters to customize the glow effect. Here’s what each of these properties does:</p><ul><li><strong>color</strong>: Sets the color of the glow. You can use colors like Colors.blue, Colors.red, or any custom color you prefer.</li><li><strong>duration</strong>: Sets the animation duration. A higher duration value slows down the animation.</li><li><strong>repeat</strong>: Sets the avatar glow glowing repeatedly.</li></ul><p>Experiment with different values to create your desired effect!</p><h3>Output of Avatar Glow</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yv6JnMQVH_mtpwo6aAlE1Q.png" /></figure><h3>Final Thoughts</h3><p>The Avatar Glow in Flutter is a delightful feature that can add an extra layer of polish and interactivity to your app. By subtly illuminating user avatars or profile images with a glowing effect, it can help draw attention to key elements, enhance the visual appeal, and create a more dynamic user interface. Whether you’re building a social app, a messaging platform, or any app with a personalized user profile, the Avatar Glow can elevate the experience with its engaging and modern touch.</p><p>What’s fantastic about the Avatar Glow is its versatility. You can customize the glow effect to match your app’s branding, adjust the intensity, color, and duration of the glow, or even trigger the glow effect based on user interactions, adding another layer of user engagement. It’s a simple yet impactful feature that can enhance your app’s aesthetics without being overly complex to implement.</p><p>If you’re looking to add a bit more life and vibrancy to your Flutter app, the Avatar Glow is definitely worth experimenting with. It’s an easy way to enhance the user experience and make your app feel more interactive and lively.</p><p>I’d love to hear your thoughts on incorporating Avatar Glow into your Flutter projects. Keep experimenting, stay creative, and happy Fluttering! 🚀💙</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=681a9e38fd61" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reorderable ListView in Flutter⭐]]></title>
            <link>https://medium.com/@imranbabuji162002/reorderable-listview-in-flutter-e22ac520e66a?source=rss-b5e3575d07b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/e22ac520e66a</guid>
            <dc:creator><![CDATA[Imran B]]></dc:creator>
            <pubDate>Mon, 11 Nov 2024 15:13:02 GMT</pubDate>
            <atom:updated>2024-11-11T15:13:02.734Z</atom:updated>
            <content:encoded><![CDATA[<h3>Reorderable ListView in Flutter⭐🚀</h3><p>In this post, we’ll learn how to create a <strong>Reorderable ListView</strong> in Flutter, which allows users to reorder items in a list with a simple drag-and-drop gesture. This is particularly useful for creating interactive UIs, such as to-do lists or custom reorderable lists for your app.</p><h3>Steps to Implement Reorderable ListView in Flutter</h3><h3>Step 1: Define Your List Data</h3><p>The <strong>ReorderableListView</strong> requires a list of data. In this example, we will use a simple list of strings, but you can replace this with any custom data model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GU7P5ROa7N6Bdx-39bdMmg.png" /></figure><h3>Step 2: Implement the ReorderableListView Widget</h3><p>In Flutter, ReorderableListView is a special widget that allows users to reorder items. Let’s create a basic Reorderable ListView.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GqEw-1gwz4p7F2WxQowcrg.png" /></figure><h3>Step 3: Explanation of the Code</h3><p><strong>ReorderableListView</strong>:</p><ul><li>This widget allows users to reorder the list items by dragging them.</li><li>The onReorder callback is triggered when the list item is dragged and dropped. It provides the oldIndex and newIndex to update the list.</li></ul><p><strong>ListTile</strong>:</p><ul><li>Each list item is wrapped in a ListTile widget to display the text. The key property is crucial as it ensures that each list item is uniquely identified.</li></ul><p><strong>Reorder Logic (</strong><strong>_onReorder function)</strong>:</p><ul><li>When the user drags and drops an item, the onReorder callback is called. We handle the reordering by removing the item from the old position and inserting it at the new position.</li></ul><h3>Final Output of Re-Orderable List View</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fmB1p09r9H5vFsBqhKbQxQ.png" /></figure><h3>Step 4: Test the App</h3><p>Run your app and test the reordering functionality. You should be able to drag items around and see them move in real-time.</p><h3>Final Thoughts</h3><p>The <strong>Reorderable ListView</strong> in Flutter is a fantastic feature that can significantly enhance the interactivity and user experience of your app. By allowing users to easily reorder items through simple drag-and-drop gestures, it adds a level of dynamism and customization that many modern applications demand. Whether you’re building a to-do list, task manager, or any app that requires list manipulation, this feature brings convenience and satisfaction to the user.</p><p>What’s great about the Reorderable ListView is its flexibility. You can integrate it with other features like persistent storage to save the reordered list or even add custom animations and styling for a more personalized experience. This feature is incredibly easy to implement and can be tailored to suit the unique needs of your project.</p><p>If you’re looking to enhance the usability and functionality of your Flutter app, the <strong>Reorderable ListView</strong> is a must-try. It’s a simple yet effective way to make your app more engaging and enjoyable for users, ensuring they have an intuitive and seamless experience.</p><p>I’d love to hear your thoughts on this feature and how you plan to incorporate it into your Flutter projects. Keep experimenting, keep building, and happy Fluttering! 🚀💙</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e22ac520e66a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing a Swipeable Button View in Flutter: A Modern UI Element for Interactive Experiences⭐]]></title>
            <link>https://medium.com/@imranbabuji162002/implementing-a-swipeable-button-view-in-flutter-a-modern-ui-element-for-interactive-experiences-ac2425e24fd7?source=rss-b5e3575d07b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac2425e24fd7</guid>
            <dc:creator><![CDATA[Imran B]]></dc:creator>
            <pubDate>Sun, 10 Nov 2024 16:36:26 GMT</pubDate>
            <atom:updated>2024-11-10T16:36:26.485Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s mobile app development landscape, providing users with engaging, interactive UI elements is crucial to delivering an exceptional experience. One such UI component gaining popularity is the <strong>Swipeable Button View</strong>. This button allows users to swipe or slide the button to complete a specific action, making it an interactive and dynamic element for app users. In this blog, we’ll walk through how to implement the <strong>Swipeable Button View</strong> in Flutter to create a smooth and engaging user interaction.</p><h3>What is a Swipeable Button?</h3><p>A <strong>Swipeable Button</strong> is a type of button where users must swipe (or slide) across the button to activate or trigger an action. This sliding interaction is commonly seen in apps with features such as <strong>payment gateways</strong>, <strong>onboarding screens</strong>, <strong>content switching</strong>, and more. It enhances the user experience by providing a visual cue that the action requires user input and interaction.</p><h3>Why Use a Swipeable Button in Flutter?</h3><p>Using a <strong>Swipeable Button View</strong> adds a layer of interactivity and dynamism to your Flutter app. It’s especially useful when you want to:</p><ul><li><strong>Enhance user engagement</strong>: The swipe gesture adds a tactile and satisfying interaction for users.</li><li><strong>Improve UI clarity</strong>: Users are visually guided to interact with the button.</li><li><strong>Create smooth animations</strong>: The swipe effect adds a visually appealing animation that fits perfectly in modern UIs.</li></ul><h3>Setting Up the Swipeable Button View in Flutter</h3><p>To use a <strong>Swipeable Button View</strong> in your Flutter app, we can utilize the <strong>swipeable_button_view</strong> package. This package allows us to easily integrate a swipe-to-action button with customization options such as colors, text, and icons.</p><h4>Step 1: Adding Dependencies</h4><p>To get started, add the swipeable_button_view package to your pubspec.yaml file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DnJIeSo461cT8LfmY2lW4Q.png" /></figure><p>Run flutter pub get to install the dependencies.</p><h4>Step 2: Basic Implementation</h4><p>Here’s a basic example of how to integrate the Swipeable Button View in your Flutter app:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2HtUUS5qZXgKuXA3oJio3g.png" /></figure><p>In this example, a simple Swipeable Button is placed at the center of the screen. When the button is swiped and finished, a alert dialog displays a success message.</p><h4>Step 3: Customization</h4><p>You can also <strong>customize</strong> the Swipeable Button’s appearance by modifying its parameters, such as:</p><ul><li><strong>buttonText</strong>: The text displayed on the button.</li><li><strong>buttonWidget</strong>: A custom widget (like an icon or an image) displayed within the button.</li><li><strong>activeColor</strong>: The color of the button when it&#39;s actively being swiped.</li><li><strong>isFinished</strong>: This boolean determines if the button has been swiped successfully, which can be used to trigger the UI to show completion or reset the button state.</li></ul><h3>Best Use Cases for Swipeable Button View</h3><ol><li><strong>Payment and Checkout</strong>: Create a seamless payment experience by allowing users to swipe to confirm their payment.</li><li><strong>Authentication</strong>: Use a swipeable button for completing authentication actions (e.g., fingerprint scanning or login).</li><li><strong>Task Completion</strong>: Use the swipe action to mark tasks as complete in productivity or to-do apps.</li><li><strong>Onboarding Flow</strong>: Enhance the onboarding experience by using a swipeable button for users to move to the next step.</li></ol><h3>Output of Swipeable Button View</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ck2HnQdKhHSzNrQ1KnPPUQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*omU8armXOHC1zWE-vyFPyA.png" /></figure><h3>Best Use Cases for Swipeable Button View</h3><ol><li><strong>Payment and Checkout</strong>: Create a seamless payment experience by allowing users to swipe to confirm their payment.</li><li><strong>Authentication</strong>: Use a swipeable button for completing authentication actions (e.g., fingerprint scanning or login).</li><li><strong>Task Completion</strong>: Use the swipe action to mark tasks as complete in productivity or to-do apps.</li><li><strong>Onboarding Flow</strong>: Enhance the onboarding experience by using a swipeable button for users to move to the next step.</li></ol><h4>👨‍💻Source Code — <a href="https://github.com/Imran200216/slideviewbtn">https://github.com/Imran200216/slideviewbtn</a></h4><h3>Final Thoughts</h3><p>The Swipeable Button View in Flutter is a game-changer when it comes to creating interactive, user-friendly interfaces. It offers a smooth and intuitive way for users to engage with your app, making actions like payments or confirmations feel more interactive and satisfying. With a simple swipe, you can elevate your app’s usability and provide users with a modern, polished experience.</p><p>This feature is versatile and can be customized to fit various use cases, making it a great addition to any Flutter project. Whether it’s used for transactions, confirmations, or even fun interactions, it adds an extra layer of engagement that users will appreciate.</p><p>If you’re looking to make your Flutter app more interactive and user-friendly, don’t hesitate to implement the Swipeable Button View. It’s a small addition that can lead to a big improvement in your app’s UX!</p><p>Let me know your thoughts, and if you plan to add this swipe button feature to your Flutter projects. Happy coding and happy Fluttering! 🚀💙</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac2425e24fd7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Super Scratcher and Confetti Animation in Flutter ]]></title>
            <link>https://medium.com/@imranbabuji162002/super-scratcher-and-confetti-animation-in-flutter-5aa8bfaaa905?source=rss-b5e3575d07b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/5aa8bfaaa905</guid>
            <dc:creator><![CDATA[Imran B]]></dc:creator>
            <pubDate>Sun, 10 Nov 2024 13:40:02 GMT</pubDate>
            <atom:updated>2024-11-10T13:48:24.985Z</atom:updated>
            <content:encoded><![CDATA[<p>Flutter provides us with amazing capabilities to create interactive and visually appealing user interfaces. In this post, I’ll walk you through building a <strong>scratch card effect</strong> and a <strong>confetti animation</strong> for a Flutter app, adding a fun and celebratory touch to your UI.</p><h3>Project Overview</h3><p>This mini-project includes:</p><ul><li>A <strong>scratchable surface</strong> using the Scratcher package, where users can &quot;scratch&quot; away a cover to reveal a hidden message.</li><li>A <strong>confetti animation</strong> that triggers when the scratching is complete, bringing an extra burst of excitement to the experience.</li></ul><p>Let’s dive into the setup and code to build this awesome effect!</p><h3>Step 1: Setting Up the Scratcher Package</h3><p>To start, we need to add the scratcher package to our Flutter project. Open your pubspec.yaml file and add the following dependency:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZUY5dwIlhbspV8TWoe_gCg.png" /></figure><p>Then, run flutter pub get to install the packages.</p><h3>Step 2: Building the Scratch Card</h3><p>In your Dart file, import the necessary packages:</p><p>Now let’s build the scratch card UI with a Scratcher widget. The scratch card will reveal a hidden message when fully scratched. Here’s an example setup:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8ROQQi-W3_bIT0a-AoNZfw.png" /></figure><h3>Step 3: Confetti Animation</h3><p>To make the confetti even more exciting, let’s customize the particle shapes. Here’s an example of how to use a custom shape, like a star:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OsfL9vbBeEo05god9Ksomw.png" /></figure><h3>Step 4: Final Output of Super Scratcher and Confetti Animation 🎉🎰</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LN0u4yxWTECZNU4I3cqv_w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q99xNaaW33ooBbgqrhbX1g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*apDTP0mW6qCCARjeod4T6Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B-i7mQWNV6mMSwCSqpZWkg.png" /></figure><h3>Step 4: Testing and Final Touches</h3><p>Run the app on an emulator or device and scratch the card to reveal the hidden message! Once you scratch enough to reach the threshold, the confetti animation should trigger, adding a colorful celebratory touch.</p><p>Feel free to adjust the colors, particle shapes, and other properties to suit your app’s style and make the effect unique.</p><h3>Source code 👨‍💻</h3><p><a href="https://github.com/Imran200216/sratcher">https://github.com/Imran200216/sratcher</a></p><h3>Wrapping Up</h3><p>With these few steps, you’ve built an interactive scratch card with a lively confetti animation in Flutter! 🚀 This feature can be a fun addition to a variety of applications, from gaming to promotional apps, creating an engaging user experience.</p><p>I hope this guide helps you get creative with Flutter’s animation capabilities! Let me know in the comments if you give this a try or add your own twist. 💜</p><p>Happy Fluttering! 🐦✨</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5aa8bfaaa905" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Tinder-Style Card Swipe Animation in Flutter]]></title>
            <link>https://medium.com/@imranbabuji162002/building-a-tinder-style-card-swipe-animation-in-flutter-abfa00a38599?source=rss-b5e3575d07b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/abfa00a38599</guid>
            <dc:creator><![CDATA[Imran B]]></dc:creator>
            <pubDate>Sat, 09 Nov 2024 04:12:04 GMT</pubDate>
            <atom:updated>2024-11-09T04:26:28.321Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>In this article, I’ll walk you through how I built a Tinder-style card swipe animation in Flutter! From creating smooth card transitions to managing gestures and animations, this project taught me a lot about building interactive and visually appealing UI. If you’re looking to add a swipeable card experience to your Flutter app, read on!</p><h3>Key Concepts Covered:</h3><ul><li>Using flutter_card_swiper packages for swiping</li><li>Customizing cards with images, text, and gradient overlays</li><li>Gesture handling for swipe actions</li><li>Adding animations to enhance the user experience</li></ul><h3>Step 1: Setting Up the Project</h3><p>To get started, I created a new Flutter project and added the necessary dependencies for the card swipe feature. For this, I used the flutter_card_swiperpackage, which provides easy-to-use swipeable card stacks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bAxxK9hhXJ8lVhYieYR65g.png" /></figure><h3>Step 2: Designing the Card Layout</h3><p>Next, I designed the card UI with an image background, overlay gradient, and content sections for text and icons. Here’s a breakdown of how I structured the CustomProfileCard widget:</p><ul><li><strong>Image Background</strong>: Displayed using CachedNetworkImage for caching and placeholders.</li><li><strong>Gradient Overlay</strong>: Added a smooth gradient overlay to enhance readability and create a depth effect.</li><li><strong>Card Details</strong>: Included the user’s name, bio, and location with custom styling.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bArYm7KPG9aR6sK1S6tl8w.png" /></figure><h3>Step 3: Implementing the Swipe Animation</h3><p>Using flutter_card_swiper, I configured the card stack with custom settings:</p><ul><li><strong>Swipe Directions</strong>: Configured for left and right swipes, mimicking a like or dislike.</li><li><strong>Card Removal and Refresh</strong>: Cards are dynamically removed from the stack upon swipe, with a refresh option to reload them.</li><li><strong>Swipe Feedback</strong>: Added animations to give users feedback on swipe actions.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sBrfAh5TYbwk-44mMMLu-g.png" /></figure><h3>Screenshots of Tinder Card</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5_LVADVvCLx1NWSpLOEYBQ.png" /></figure><h3>Source code</h3><p><a href="https://github.com/Imran200216/tinder_card_swipe">https://github.com/Imran200216/tinder_card_swipe</a></p><h3>Final Thoughts</h3><p>Creating a Tinder-like swipe card animation in Flutter was an exciting project that helped me understand UI interactions, animations, and gesture handling in more depth. Adding details like animations and caching can really elevate the user experience. 🚀</p><p>If you’re considering a swipe-based feature in your app, I’d highly recommend exploring the flutter_card_swiperpackage. Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=abfa00a38599" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Liquid Swipe On-Boarding Screen in Flutter]]></title>
            <link>https://medium.com/@imranbabuji162002/liquid-swipe-on-boarding-screen-in-flutter-799a9f2113e8?source=rss-b5e3575d07b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/799a9f2113e8</guid>
            <dc:creator><![CDATA[Imran B]]></dc:creator>
            <pubDate>Thu, 07 Nov 2024 17:57:53 GMT</pubDate>
            <atom:updated>2024-11-09T04:33:19.261Z</atom:updated>
            <content:encoded><![CDATA[<p>Onboarding screens are an essential part of mobile applications, offering users a smooth introduction to an app’s features and functions. Flutter, with its flexibility and ease of use, makes it easy to create interactive and visually appealing onboarding screens. One exciting way to engage users right from the start is through the <strong>Liquid Swipe</strong> effect.</p><p>In this blog, I will walk you through how to implement a Liquid Swipe On-Boarding screen in Flutter, step by step. The Liquid Swipe effect gives users a visually dynamic and fun experience as they swipe through pages, creating an impression of fluid motion and organic transitions between slides.</p><h3>What is Liquid Swipe?</h3><p>Liquid Swipe is a swipe animation where each page slides like liquid, creating a smooth, organic flow between different screens. It’s a modern approach to traditional page-view swiping, providing a more polished and engaging user experience. This unique animation has grown in popularity for onboarding screens, as it offers a visually captivating introduction to the app.</p><h3>Getting Started with Flutter</h3><p>To get started, you’ll need to have Flutter set up on your development environment. If you haven’t already done so, make sure to download and install Flutter from the official Flutter website.</p><p>For this tutorial, we will use the <strong>Liquid Swipe package</strong> in Flutter, which simplifies the creation of liquid swipe animations. You can install the package by adding it to your pubspec.yaml file like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3ib77lChxMR0LxfaEHU7hQ.png" /></figure><h3>Implementing Liquid Swipe On-Boarding Screen</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MGaMWOlUywZUKIeIXHHnBw.png" /></figure><h3>On-Boarding-screen-1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j0eaUdYDxtEUVc8ZPBV6bA.png" /></figure><h3>On-Boarding-screen-2</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F0PeFzhWL9LXKEVcpCMY1A.png" /></figure><h3>On-Boarding-screen-3</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*joSt0pVGCVRZmbn1TIE8dg.png" /></figure><h3>Customizing for Your App</h3><p>Once you’ve set up the basic liquid swipe, you can customize it further based on your app’s branding and design guidelines. Add your own images, change the background colors, or adjust the text styles to match your app’s theme. You can also use custom animations to make the experience even more engaging.</p><h3>Screenshots of Liquid Swipe On-Boarding Screen</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XLk7OaN7SEuKqhVjYZjOGQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bnmYtoasbpqEneMcJXUF9Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wMSulsI_2DdGOQVDfctyZg.png" /></figure><h3>Source Code Link</h3><p><a href="https://github.com/Imran200216/liquid_swiper_on_boarding">https://github.com/Imran200216/liquid_swiper_on_boarding</a></p><h3>Conclusion</h3><p>In this blog, we’ve learned how to implement a Liquid Swipe On-Boarding screen in Flutter, which offers an elegant and interactive way to introduce your app to new users. With the easy-to-use liquid_swipe package, you can quickly create stunning onboarding flows that leave a lasting impression. Whether you&#39;re designing an app for a startup or a major company, the Liquid Swipe effect is sure to elevate your onboarding experience.</p><p>By following this tutorial, you’ll be able to provide users with a visually delightful onboarding screen that helps them understand your app’s core features in a fun, engaging way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=799a9f2113e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>