<?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 Dmekaka on Medium]]></title>
        <description><![CDATA[Stories by Dmekaka on Medium]]></description>
        <link>https://medium.com/@dmekaka?source=rss-7ee48a233e37------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*uh9vMaGB9moZRMVA</url>
            <title>Stories by Dmekaka on Medium</title>
            <link>https://medium.com/@dmekaka?source=rss-7ee48a233e37------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 07:51:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dmekaka/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[The Importance of Changelog File: Tracking the Evolution of Your Software Project]]></title>
            <link>https://medium.com/@dmekaka/the-importance-of-changelog-file-tracking-the-evolution-of-your-software-project-e85cc97a5f2d?source=rss-7ee48a233e37------2</link>
            <guid isPermaLink="false">https://medium.com/p/e85cc97a5f2d</guid>
            <dc:creator><![CDATA[Dmekaka]]></dc:creator>
            <pubDate>Sun, 28 May 2023 00:50:08 GMT</pubDate>
            <atom:updated>2023-05-28T00:50:08.038Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t7hkLEhLfzbV-oYM" /><figcaption>Photo by <a href="https://unsplash.com/@afgprogrammer?utm_source=medium&amp;utm_medium=referral">Mohammad Rahmani</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In the world of software development, tracking and documenting changes made to a project is essential for ensuring smooth progress and maintaining clear communication among team members. Regardless of your development domain, whether you’re a Flutter developer, JavaScript expert, or AI engineer, this article explores the crucial importance of the changelog file in your workflow and how it can enhance your work.</p><h3>The History of Changelog File</h3><blockquote>The changelog file, invented in the 1970s, is a fundamental element of change management in software development. It was initially used by the Unix operating system development team to record code changes. Since then, the changelog file has become a widely adopted standard in the software industry.</blockquote><p>Over time, the changelog file has become an invaluable tool for developers. It maintains a clear and organized history of changes made to the project, providing a chronological view of its evolution. This historicity allows tracing the code’s development, identifying previous versions, and understanding the impact of changes made.</p><h3>Why Use a Changelog File?</h3><p>When working on a software project, managing changes quickly becomes complex. Whether you’re a Flutter developer, JavaScript expert, or AI engineer, you can benefit from using a changelog file. Here are some compelling reasons to consider adopting a changelog file in your workflow:</p><ul><li><strong>Effective Communication and Collaboration</strong>: A changelog file facilitates clear communication and efficient collaboration among team members. It systematically records all modifications made to the project, enabling a better understanding of the changes.</li><li><strong>Traceability of Changes:</strong> By keeping track of each modification, a changelog file simplifies identifying the origin of a bug or understanding the introduced developments. It provides a clear overview of the project’s evolution, saving time that would otherwise be spent searching through code commits.</li><li><strong>Transparency for Users:</strong> A changelog file informs end-users about the changes made to the software. This fosters user trust and enables them to comprehend the benefits of updating their version of the software, including new features, improvements, and bug fixes.</li></ul><h3>My personal experience with changelog file</h3><p>It was only recently that I started maintaining a changelog file in our project. Initially, I didn’t grasp its significance. Why bother editing a file that had no direct impact on our code? However, thanks to decisive intervention from our CTO, I quickly realized the critical importance of a well-maintained changelog file.</p><p>Our CTO pushed us to start editing the changelog file in our project. Initially, it seemed like an additional chore, but I soon understood the considerable benefits it brought. Firstly, it provided me with a clear vision of the project’s evolution. Instead of wondering about what changes had been made or searching through code commits, I could simply consult the changelog file for an organized and detailed list of modifications.</p><blockquote>Furthermore, the changelog file greatly facilitated collaboration within the team.</blockquote><p>During meetings or discussions about features or bugs, we could refer to the changelog file to have a shared understanding of the modifications made. This significantly improved our communication and productivity, as we no longer needed to spend time explaining or guessing what had been modified.</p><p>Another important advantage was the transparency that the changelog file offered to end-users. When we released software updates, we could include the changelog file to inform users about new features, improvements, and bug fixes. This created a sense of trust and transparency, as users could see the software’s evolution and understand the changes that directly affected them.</p><h3>Conclusion</h3><p>In conclusion, using a changelog file in your software project is essential for ensuring clear communication, traceability of changes, and transparency towards end-users. My personal experience has demonstrated the numerous benefits of a well-maintained changelog file, regardless of your development domain.</p><p>In our next article, we will explore best practices and provide concrete examples for writing an effective changelog file. Stay tuned for valuable insights on managing software project modifications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e85cc97a5f2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Resolving the Right Side Drawer Bug in Flutter Web: How to use showGeneralDialog ?]]></title>
            <link>https://medium.com/@dmekaka/resolving-the-right-side-drawer-bug-in-flutter-web-how-to-use-showgeneraldialog-bf3875d6808?source=rss-7ee48a233e37------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf3875d6808</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[flutter-web]]></category>
            <category><![CDATA[flutter-ui]]></category>
            <dc:creator><![CDATA[Dmekaka]]></dc:creator>
            <pubDate>Thu, 25 May 2023 21:00:22 GMT</pubDate>
            <atom:updated>2023-05-25T21:00:22.336Z</atom:updated>
            <content:encoded><![CDATA[<h3>Resolving the Right Side Drawer Bug in Flutter Web: How to use showGeneralDialog ?</h3><p>Table of Contents:</p><ol><li>Introduction</li><li>The Problem with the Right Side Drawer</li><li>Resolving the Bug with the “showGeneralDialog” Widget</li><li>Tips and Best Practices for Side Drawers in Flutter Web</li><li>Conclusion</li></ol><h3>Introduction:</h3><p>During the development of a Flutter application for the web, I encountered challenges with the right side drawer that was not behaving as expected. After extensive research, I discovered the “showGeneralDialog” widget, a powerful yet lesser-known solution. In this article, I will share how I resolved the issues with the right side drawer using this widget and provide tips to avoid common pitfalls associated with side drawers in Flutter Web.</p><h3>The Problem with the Right Side Drawer</h3><p>When I started developing my Flutter application for the web, I decided to implement a right side drawer to provide a smooth and intuitive user experience. However, as soon as I began testing the application, I noticed abnormal behavior of the menu. Here are the details of the bug I encountered:</p><p>Display Issue: The right side drawer was not rendering correctly on all pages of the application. Sometimes, it would appear partially or overlap with other UI elements.</p><figure><img alt="Illustration of the bug: Incorrect display of the right-side menu" src="https://cdn-images-1.medium.com/max/1024/1*y94NC2XRLk00dz09lORgrA.png" /></figure><p>Interaction Issue: Even when the menu was displayed correctly, interactions with the elements inside the menu were difficult. Swipe gestures and clicks were not responding consistently, making the menu usage frustrating for users.</p><p>This bug posed a significant obstacle in the development of my Flutter application for the web. I conducted extensive research, explored different approaches, and tried various solutions, but none yielded the desired results.</p><p>One of the reasons for this problem was that the menu was nested within a parent of fixed size. In this case, the menu would take on the size of the parent, which did not align with our intention of making it occupy the maximum height of the screen.</p><pre> // This is the parent view of the application.<br>// It contains the main scaffold and manages the right-side menu.<br>class ParentView extends StatefulWidget {<br>  const ParentView({super.key, required this.title});<br><br>  final String title;<br><br>  @override<br>  State&lt;ParentView&gt; createState() =&gt; _ParentViewState();<br>}<br><br>class _ParentViewState extends State&lt;ParentView&gt; <br><br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      appBar: AppBar(<br>        title: Text(widget.title),<br>      ),<br>      body: SizedBox(<br>        height: MediaQuery.of(context).size.height * .8,<br>       // This is the child view, which is nested inside the parent view.<br>       // It occupies 80% of the parent&#39;s height.<br>        child: ChildView(counter: _counter),<br>      ),<br>    );<br>  }<br>}</pre><pre>// This is the child view, which is nested inside the parent view.<br>// It occupies 80% of the parent&#39;s height.<br>class ChildView extends StatelessWidget {<br>  const ChildView({<br>    super.key,<br>    required int counter,<br>  }) : _counter = counter;<br><br>  final int _counter;<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      backgroundColor: Colors.grey.shade300,<br>      // This is where the problem originates.<br>      // The Drawer widget causes the menu to have a fixed size<br>      // instead of occupying the maximum height of the screen.<br>      endDrawer: const Drawer(<br>        child: Align(child: Text(&#39;My Drawer&#39;)),<br>      ),<br>    );<br>  }<br>}</pre><h3>Resolving the Bug with the “showGeneralDialog” Widget</h3><p>After conducting extensive research and unsuccessful attempts, I explored different methods to resolve the issue with the right side drawer in Flutter Web. Initially, I considered using the standard approach of displaying alerts in Flutter, using the “showDialog” method. However, I found that this approach was a bit more challenging to manipulate in the context of my problem.</p><p>During my research, I came across another developer who had faced similar difficulties and had taken a different approach by replacing the usual “showDialog” method with the “showGeneralDialog” widget. This caught my attention, as it allowed for more advanced customization of the dialog display. I realized that this could be the solution I was looking for.</p><p>Here are the steps I followed to resolve the bug:</p><p>Replacing the Drawer widget with “showGeneralDialog”: Instead of using the Drawer widget directly in the Scaffold, I used the “showGeneralDialog” widget to display my right side drawer. This approach provided me with a higher level of customization and control over the menu display while addressing the display issue when the menu was nested within a parent of fixed size.</p><pre>class ChildView extends StatelessWidget {<br>  const ChildView({<br>    super.key,<br>    required int counter,<br>  }) : _counter = counter;<br><br>  final int _counter;<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      backgroundColor: Colors.grey.shade300,<br>      appBar: AppBar(<br>        actions: [<br>          IconButton(<br>            onPressed: () {<br>              showGeneralDialog(<br>                context: context,<br>                barrierDismissible: true,<br>                transitionDuration: const Duration(milliseconds: 500),<br>                barrierLabel: MaterialLocalizations.of(context).dialogLabel,<br>                <br>                // A function that returns the widget representing the content<br>                // of the dialog. This function is called whenever the dialog<br>                // needs to be rebuilt.<br>                pageBuilder: (_, __, ___) {<br>                  return Align(<br>                    alignment: Alignment.centerRight,<br>                    child: ConstrainedBox(<br>                      constraints: const BoxConstraints(<br>                        maxWidth: 400,<br>                      ),<br>                      child: const Material(<br>                        child: Align(<br>                          alignment: Alignment.center,<br>                          child: Text(<br>                            &#39;Right Side Menu with showGeneralDialog&#39;,<br>                          ),<br>                        ),<br>                      ),<br>                    ),<br>                  );<br>                },<br><br>                // A function that allows customizing the transition animation<br>                // between the closed and open state of the dialog.<br>                // It takes the context, animation, and widget to animate as<br>                // parameters, and should return a widget that describes<br>                // the desired animation.<br>                transitionBuilder: (_, anim1, anim2, child) {<br>                  return SlideTransition(<br>                    position: CurvedAnimation(<br>                      parent: anim1,<br>                      curve: Curves.easeInOutCubic,<br>                    ).drive(<br>                      Tween(<br>                        begin: const Offset(1, 0),<br>                        end: const Offset(0, 0),<br>                      ),<br>                    ),<br>                    child: child,<br>                  );<br>                },<br>              );<br>            },<br>            icon: const Icon(Icons.add),<br>          ),<br>         <br>        ],<br>      ),<br>      <br>    );<br>  }<br>}</pre><figure><img alt="Side Menu using showGeneralDialog" src="https://cdn-images-1.medium.com/max/1024/1*tZ4XD_dEIfL-Zv4ThrJQUw.png" /></figure><p>Handling interactions: Once I implemented the “showGeneralDialog” widget, I was able to handle interactions with the menu items more consistently. I utilized the built-in features of the widget to capture swipe gestures, clicks, and user interactions, significantly improving the overall user experience.</p><p>Adding additional features: Thanks to the flexibility offered by the “showGeneralDialog” widget, I could incorporate additional features into the menu, such as animations, transitions, and visual customizations. This made the menu more appealing and interactive for users, enhancing the overall application experience.</p><p>By following this approach, I successfully and effectively resolved the issue with the right side drawer in Flutter Web. The utilization of the “showGeneralDialog” widget proved to be a powerful and intuitive solution for customizing the menu display and improving user interactions.</p><h3>Tips and Best Practices for Side Drawers in Flutter Web</h3><p>When developing side menus in Flutter Web, it is important to consider certain aspects to ensure a smooth and consistent user experience. Here are some tips and best practices I learned while resolving the issue with the right side drawer:</p><ol><li>Utilize the “showGeneralDialog” widget for flexibility: As mentioned earlier, the “showGeneralDialog” widget offers advanced customization for side menus. Don’t hesitate to explore and experiment with it to meet the specific needs of your application.</li><li>Consider screen size and layout: When designing your side menu, ensure it adapts appropriately to different screen sizes. Use flexible and responsive layout widgets such as Flexible, Expanded, or MediaQuery to ensure the menu adjusts properly on the screen.</li><li>Handle interactions with care: Ensure that interactions with the menu items are responsive and intuitive. Use appropriate swipe gestures, clicks, and animations to provide a pleasant user experience. Avoid conflicts with other gestures or interactions in your application.</li><li>Test on different platforms: When developing side menus in Flutter Web, make sure to test your application on different platforms and browsers to ensure the menu functions correctly and provides a consistent experience. Keep in mind that behaviors may vary across browsers.</li><li>Document your code and share your experience: After solving issues or discovering interesting tips, take the time to document your code and share your experience with the Flutter community. Medium is an excellent platform for this, where you can publish detailed articles about your findings and solutions.</li></ol><p>By following these tips and best practices, you will be able to create performant and robust side menus in Flutter Web, offering a pleasant and bug-free user experience.</p><h3>Conclusion</h3><p>In this article, I shared my experience in resolving a bug related to the right side menu on Flutter Web. By using the “showGeneralDialog” widget and following specific tips and best practices, I was able to overcome this issue and provide an enhanced user experience.</p><p>We saw how replacing the Drawer widget with the “showGeneralDialog” widget allowed for more precise control over the menu’s display, especially when it was nested within a parent of fixed size. Additionally, I emphasized the importance of considering screen size and layout, handling interactions with care, testing on different platforms, and sharing our experience with the community.</p><p>It is important to note that each situation may be unique, and there may be other approaches or possible solutions to similar problems. However, by sharing our findings and documenting our solutions, we contribute to strengthening the Flutter community and facilitating the development of high-quality applications.</p><p>I hope this article has been helpful to you and has provided you with ideas for resolving similar issues. By exploring and experimenting with Flutter’s advanced features, we are able to create rich and interactive user interfaces for our web applications.</p><p>To access the complete code for resolving the problem, you can refer to the following GitHub project:</p><p><a href="https://github.com/dmekakaj/flutter-web-side-menu">https://github.com/dmekakaj/flutter-web-side-menu</a></p><p>Feel free to further explore the possibilities offered by Flutter and share your own discoveries with the community. Together, we can continue to enhance our Flutter development skills and create exceptional user experiences.</p><p><a href="https://api.flutter.dev/flutter/widgets/showGeneralDialog.html">showGeneralDialog function — widgets library — Dart API (flutter.dev)</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf3875d6808" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>