<?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 Opshanka Prabath on Medium]]></title>
        <description><![CDATA[Stories by Opshanka Prabath on Medium]]></description>
        <link>https://medium.com/@opshankaprabath?source=rss-d9836f6ef056------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zkcS8cPc2cCsr9GSuAHtIQ.jpeg</url>
            <title>Stories by Opshanka Prabath on Medium</title>
            <link>https://medium.com/@opshankaprabath?source=rss-d9836f6ef056------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 17:26:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@opshankaprabath/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[Stressed from Work? Here’s Why You Need a Night Out with Friends]]></title>
            <link>https://medium.com/@opshankaprabath/stressed-from-work-heres-why-you-need-a-night-out-with-friends-358529e89638?source=rss-d9836f6ef056------2</link>
            <guid isPermaLink="false">https://medium.com/p/358529e89638</guid>
            <dc:creator><![CDATA[Opshanka Prabath]]></dc:creator>
            <pubDate>Sat, 15 Feb 2025 03:01:59 GMT</pubDate>
            <atom:updated>2025-02-15T03:01:59.802Z</atom:updated>
            <content:encoded><![CDATA[<p>Nothing beats hanging out with friends — whether it’s grabbing a bite, celebrating something special, or just catching up after a long week. It’s all about good vibes, good food, and making memories that stick.</p><p>Feeling stressed from work? Especially as a software engineer, the constant deadlines, debugging, and long hours in front of a screen can take a toll. Sometimes, the best way to unwind is to step away from the chaos and spend time with people who lift you up. A fun night out with friends, sharing good food and laughter, can do wonders for your mood. It’s a simple way to reset and recharge, helping you forget about deadlines and responsibilities, even if just for a little while.</p><p>If you’re deep into coding all day, socializing can feel like an afterthought, but it’s actually one of the best ways to avoid burnout. When you step away from your work, you give your mind a break, allowing it to process problems subconsciously. Ever noticed how the best ideas sometimes come to you when you’re not at your desk? That’s your brain doing its magic when it’s relaxed.</p><p>Finding a spot everyone likes? Easy — just pick a place that fits the mood, whether it’s a fancy restaurant or your favorite street food stall. Once you’re there, enjoy the moment! Laugh, tell stories, and maybe even try something new off the menu.</p><p>Of course, splitting the bill can sometimes get tricky. No one likes doing mental math at the table, and let’s be real — there’s always that one friend who forgets to pay. That’s where <strong>Tipsy — Split Bill</strong> comes in. Just add the amounts, let the app do the work, and pay up without any drama. No awkwardness, just fairness.<br>👉 <a href="https://apps.apple.com/lk/app/tipsy-split-bill/id6740783219">Download Tipsy — Split Bill</a></p><p>And hey, while you’re at it, put your phone down (at least for a bit). Snap some pics, but don’t forget to actually live the moment. Great conversations and real connections are way better than scrolling social media.</p><p>At the end of the night, it’s not about the place or the food — it’s about the people you shared it with. So say thanks, plan the next meetup, and keep the good times rolling.</p><p>What’s your go-to way to have a great time with friends? Drop a comment and let’s talk! 😊</p><p>#Friendship #GoodTimes #DiningOut #NoBillDrama #TipsyApp #FunWithFriends #StressRelief #SoftwareEngineerLife</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=358529e89638" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Learn New Words: A Fun and Effective Guide]]></title>
            <link>https://medium.com/@opshankaprabath/how-to-learn-new-words-a-fun-and-effective-guide-945f9be9d12e?source=rss-d9836f6ef056------2</link>
            <guid isPermaLink="false">https://medium.com/p/945f9be9d12e</guid>
            <dc:creator><![CDATA[Opshanka Prabath]]></dc:creator>
            <pubDate>Sat, 15 Feb 2025 02:50:48 GMT</pubDate>
            <atom:updated>2025-02-15T02:53:15.672Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey everyone! 🎉</p><p>Learning new words can be a game-changer for your communication skills, creativity, and overall confidence. Whether you’re a writer, student, or just someone who loves language, expanding your vocabulary is always a great idea! Here are some fun and effective ways to learn new words every day.</p><h3>1. Read, Read, Read! 📚</h3><p>One of the best ways to discover new words naturally is by reading a variety of materials — books, articles, newspapers, or even blogs. Different genres expose you to different vocabularies, helping you expand your word bank effortlessly.</p><h3>2. Keep a Word Journal ✍️</h3><p>Whenever you come across an unfamiliar word, jot it down in a journal along with its definition and an example sentence. Writing words down reinforces memory and makes them easier to recall later.</p><h3>3. Use Word Apps 📱</h3><p>Apps like <strong>Daily Word — Word Collector</strong> make learning new words interactive and fun. With daily word suggestions, definitions, and examples, you can steadily build your vocabulary in just a few minutes each day.<br>👉 <a href="https://apps.apple.com/app/daily-word-word-collector/id6741044911">Download Daily Word — Word Collector</a></p><h3>4. Play Word Games 🎮</h3><p>Crossword puzzles, Scrabble, Wordle, and other word games challenge your brain while introducing you to new words in an engaging way. They also make learning feel like play rather than a chore!</p><h3>5. Use New Words in Conversations 🗣️</h3><p>Try incorporating newly learned words into daily conversations, emails, or social media posts. The more you use them, the more natural they’ll feel.</p><h3>6. Learn One Word a Day 📆</h3><p>Commit to learning just one new word per day. Over time, this small habit can lead to a significant vocabulary boost.</p><h3>7. Watch Movies and Listen to Podcasts 🎬🎧</h3><p>Exposure to language through movies, TV shows, and podcasts is another effective way to learn new words. Pay attention to dialogues, look up unfamiliar words, and note them in your word journal.</p><h3>8. Join a Language Learning Community 🌍</h3><p>Engage in discussions with others who are also interested in expanding their vocabulary. Online forums, social media groups, or even book clubs are great places to share and learn from others.</p><h3>Final Thoughts</h3><p>Learning new words should be a fun and rewarding experience. By incorporating these strategies into your routine, you’ll steadily build an impressive vocabulary over time.</p><p>What are your favorite ways to learn new words? Share your thoughts in the comments! 😊</p><p>#Vocabulary #Learning #WordCollector #DailyWord #LanguageSkills #IndieDev #AppDevelopment #FunLearning</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=945f9be9d12e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter Getx ultimate tutorial]]></title>
            <link>https://medium.com/@opshankaprabath/flutter-getx-ultimate-tutorial-ef4022beb4b1?source=rss-d9836f6ef056------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef4022beb4b1</guid>
            <dc:creator><![CDATA[Opshanka Prabath]]></dc:creator>
            <pubDate>Sun, 25 Jun 2023 11:51:34 GMT</pubDate>
            <atom:updated>2023-06-25T11:59:50.599Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*DzAKzoI5I3-kHoKTJiuM2Q.png" /></figure><p>This will bring you all the essentials details about getx.</p><p>Section 1: Introduction to GetX<br>- Understanding GetX: A Powerful State Management Library for Flutter</p><p>GetX is a robust and versatile state management library for Flutter that has gained significant popularity among developers. It offers a comprehensive set of features designed to simplify state management, navigation, and dependency injection. With its lightweight nature and high-performance capabilities, GetX has emerged as a go-to solution for Flutter enthusiasts.</p><p>By leveraging GetX, developers can streamline their development process and achieve efficient state management. GetX introduces reactive state management through its “GetBuilder” and “Obx” widgets, which allow for easy observation and updates of state changes. This reactive approach ensures that only the necessary components are updated when the state changes, resulting in improved performance and a smoother user experience.</p><p>Moreover, GetX excels in navigation management. Its “Get.to” and “Get.off” methods offer a straightforward and flexible way to handle routing in Flutter applications. From deep linking to named routes and passing arguments between screens, GetX simplifies the navigation process and provides developers with greater control and clarity over their app’s flow.</p><p>In summary, GetX is a powerful state management library that empowers Flutter developers to build applications with ease. Its reactive state management, intuitive navigation management, and seamless dependency injection capabilities make it a compelling choice for those looking to enhance their Flutter development experience.</p><p>Section 2: Core Concepts of GetX<br>- Reactive State Management Made Easy with GetX’s “GetBuilder” and “Obx” Widgets</p><p>In this section, we delve into the core concepts of GetX state management. We explore how GetX simplifies reactive state management by introducing the “GetBuilder” and “Obx” widgets.</p><p>Example 1: Using GetBuilder for Reactive State Management</p><pre>class CounterController extends GetxController {<br>  RxInt counter = 0.obs;<br><br>  void increment() {<br>    counter.value++;<br>  }<br>}<br><br>class CounterScreen extends StatelessWidget {<br>  final CounterController counterController = Get.put(CounterController());<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      body: Center(<br>        child: GetBuilder&lt;CounterController&gt;(<br>          builder: (controller) =&gt; Text(<br>            &#39;Counter: ${controller.counter.value}&#39;,<br>            style: TextStyle(fontSize: 24),<br>          ),<br>        ),<br>      ),<br>      floatingActionButton: FloatingActionButton(<br>        onPressed: () {<br>          counterController.increment();<br>        },<br>        child: Icon(Icons.add),<br>      ),<br>    );<br>  }<br>}</pre><p>In the example above, I define a `CounterController` class that extends `GetxController`. It contains a reactive `RxInt` variable called `counter` initialized with a value of 0. The `increment()` method increases the value of `counter` by one.</p><p>In the `CounterScreen` widget, we use `GetBuilder&lt;CounterController&gt;` to wrap the portion of the UI that depends on the `counter` value. Whenever the value of `counter` changes, only the corresponding UI elements within the `GetBuilder` will be updated, resulting in efficient state management.</p><p>Example 2: Using Obx for Reactive State Management</p><pre>class NameController extends GetxController {<br>  RxString name = &#39;&#39;.obs;<br><br>  void changeName(String newName) {<br>    name.value = newName;<br>  }<br>}<br><br>class NameScreen extends StatelessWidget {<br>  final NameController nameController = Get.put(NameController());<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      body: Center(<br>        child: Obx(() =&gt; Text(<br>          &#39;Name: ${nameController.name.value}&#39;,<br>          style: TextStyle(fontSize: 24),<br>        )),<br>      ),<br>      floatingActionButton: FloatingActionButton(<br>        onPressed: () {<br>          nameController.changeName(&#39;John Doe&#39;);<br>        },<br>        child: Icon(Icons.edit),<br>      ),<br>    );<br>  }<br>}</pre><p>In this example, we define a `NameController` class that manages a reactive `RxString` variable called `name`. The `changeName()` method updates the value of `name` with a new name.</p><p>In the `NameScreen` widget, we use the `Obx` widget to observe changes in the `name` variable. The UI element wrapped within `Obx` will automatically update whenever the value of `name` changes.</p><p>Section 3: Navigation Management with GetX<br>- Effortless Routing with GetX’s “Get.to” and “Get.off” Methods</p><p>This section focuses on navigation management using GetX. We explore the seamless routing capabilities provided by GetX’s “Get.to” and “Get.off” methods.</p><p>Example 1: Navigating to a New Screen</p><pre>class HomeScreen extends StatelessWidget {<br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      appBar: AppBar(<br>        title: Text(&#39;Home&#39;),<br>      ),<br>      body: Center(<br>        child: ElevatedButton(<br>          onPressed: () {<br>            Get.to(SecondScreen());<br>          },<br>          child: Text(&#39;Go to Second Screen&#39;),<br>        ),<br>      ),<br>    );<br>  }<br>}<br><br>class SecondScreen extends StatelessWidget {<br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      appBar: AppBar(<br>        title: Text(&#39;Second Screen&#39;),<br>      ),<br>      body: Center(<br>        child: Text(&#39;This is the second screen.&#39;),<br>      ),<br>    );<br>  }<br>}</pre><p>In this example, the `HomeScreen` widget contains a button. When the button is pressed, `Get.to(SecondScreen())` navigates to the `SecondScreen` widget. The app bar title and the body of the `SecondScreen` widget will be displayed accordingly.</p><p>Example 2: Navigating and Replacing the Current Screen</p><pre>class HomeScreen extends StatelessWidget {<br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      appBar: AppBar(<br>        title: Text(&#39;Home&#39;),<br>      ),<br>      body: Center(<br>        child: ElevatedButton(<br>          onPressed: () {<br>            Get.off(ThirdScreen());<br>          },<br>          child: Text(&#39;Go to Third Screen (Replace)&#39;),<br>        ),<br>      ),<br>    );<br>  }<br>}<br><br>class ThirdScreen extends StatelessWidget {<br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      appBar: AppBar(<br>        title: Text(&#39;Third Screen&#39;),<br>      ),<br>      body: Center(<br>        child: Text(&#39;This is the third screen.&#39;),<br>      ),<br>    );<br>  }<br>}</pre><p>In this example, when the button in the `HomeScreen` is pressed, `Get.off(ThirdScreen())` replaces the current screen with the `ThirdScreen` widget. This navigation method is useful when you want to replace the existing screen instead of pushing it onto the navigation stack.</p><p>Section 4: Dependency Injection in GetX<br>- Simplifying Dependency Injection with GetX’s “Get.put” and “Get.find” Methods</p><p>In this section, we explore how GetX simplifies dependency injection within Flutter applications. GetX provides the “Get.put” and “Get.find” methods, which enable developers to easily inject dependencies into their widgets.</p><p>Example: Dependency Injection with GetX</p><pre>class UserRepository {<br>  // Repository implementation<br>}<br><br>class UserController extends GetxController {<br>  final UserRepository userRepository = Get.find();<br><br>  // Controller implementation<br>}<br><br>class HomeScreen extends StatelessWidget {<br>  @override<br>  Widget build(BuildContext context) {<br>    Get.put(UserRepository());<br><br>    return Scaffold(<br>      body: Center(<br>        child: ElevatedButton(<br>          onPressed: () {<br>            Get.to(UserProfileScreen());<br>          },<br>          child: Text(&#39;Go to User Profile&#39;),<br>        ),<br>      ),<br>    );<br>  }<br>}<br><br>class UserProfileScreen extends StatelessWidget {<br>  final UserController userController = Get.put(UserController());<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      appBar: AppBar(<br>        title: Text(&#39;User Profile&#39;),<br>      ),<br>      body: Center(<br>        child: Text(&#39;User Profile&#39;),<br>      ),<br>    );<br>  }<br>}</pre><p>In this example, we have a `UserRepository` class that represents a repository responsible for handling user-related data. The `UserController` depends on the `UserRepository`, which it retrieves using `Get.find()`.</p><p>In the `HomeScreen`, we use `Get.put(UserRepository())` to register the `UserRepository` instance with GetX’s dependency injection system. Later, in the `UserProfileScreen`, we retrieve the `UserController` using `Get.put(UserController())`.</p><p>Section 5: Benefits and Conclusion<br>- The Advantages of GetX for State Management in Flutter Applications</p><p>In the final section, I summarise the key benefits of using GetX for state management in Flutter applications. I highlight its exceptional performance, simplicity, and the vast community support it enjoys. GetX offers a comprehensive solution that simplifies state management, navigation, and dependency injection, making it an attractive choice for Flutter developers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef4022beb4b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>