<?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 Aso Orji on Medium]]></title>
        <description><![CDATA[Stories by Aso Orji on Medium]]></description>
        <link>https://medium.com/@ndubuisiaso?source=rss-7e4d974d5e85------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QnBAXnRD8N5wtw6ku2BodA@2x.jpeg</url>
            <title>Stories by Aso Orji on Medium</title>
            <link>https://medium.com/@ndubuisiaso?source=rss-7e4d974d5e85------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 10:07:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ndubuisiaso/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[ . :      --]]></title>
            <link>https://medium.com/@ndubuisiaso/-7ad3ecf2eaba?source=rss-7e4d974d5e85------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ad3ecf2eaba</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[two-year-old]]></category>
            <dc:creator><![CDATA[Aso Orji]]></dc:creator>
            <pubDate>Tue, 27 Jun 2023 06:40:32 GMT</pubDate>
            <atom:updated>2023-06-27T06:40:32.855Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/327/1*z4Ct6r8hrL-JQ5i9jaWr0A.png" /></figure><p>1/🧵 Ever wondered how toys and playgrounds can help us understand Git and GitHub? Let’s dive into the world of toy boxes and playgrounds to demystify these concepts for everyone, including our little friends🧒👧 A thread!</p><p>2/🧵 Imagine you have a toy box where you keep all your toys. 🎁 Git is like a special magic tool that helps you keep track of changes you make to your toys. Whenever you play with a toy and make changes, Git remembers what you did and keeps a record of it. 🧸</p><p>3/🧵 But Git alone is not enough! We need a place to share our toys with other kids and play with their toys too. That’s where GitHub comes in! 🌟 GitHub is like a big playground where you can show your toys to other kids and play with their toys too. 🎠</p><p>4/🧵 So, you take your toy box, which is managed by Git, and put it in GitHub’s playground. Other kids can now see what toys you have and even play with them if you allow them to. It’s a fun way to share your toys and collaborate with others. 🤝🎮</p><p>5/🧵 To summarize, Git helps you keep track of changes you make to your toys, like magic memory. 🧙‍♂️ And GitHub is a place where you can share your toys with others and play with their toys too, just like a big, exciting playground. 🎪</p><p>6/🧵 So, next time you hear about Git and GitHub, remember the toy box and the playground. Git helps you keep track of changes, and GitHub is where you can share and collaborate with others. Happy coding, little ones! 🚀🌟</p><p>#TechExplained #Git #GitHub #CodingForKids #Flutter</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ad3ecf2eaba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building an EdTech App for Low-Income Households Seeking Admission Into Higher Institution: My…]]></title>
            <link>https://medium.com/@ndubuisiaso/building-an-edtech-app-for-low-income-households-seeking-admission-into-higher-institution-my-ddf4b2d72eea?source=rss-7e4d974d5e85------2</link>
            <guid isPermaLink="false">https://medium.com/p/ddf4b2d72eea</guid>
            <dc:creator><![CDATA[Aso Orji]]></dc:creator>
            <pubDate>Thu, 15 Jun 2023 13:44:33 GMT</pubDate>
            <atom:updated>2023-06-15T13:44:33.215Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building an EdTech App for Low-Income Households Seeking Admission Into Higher Institution: My Journey as a Software Engineer</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*9VK-jbr1lb4bxE0-" /></figure><p><strong>Introduction</strong></p><p>As a passionate software engineer, I have always believed in the power of technology to transform lives. Recently, I embarked on a meaningful project that aimed to bridge the educational gap for low-income households through an innovative EdTech app. In this blog post, I will share my personal journey, the challenges I faced, and the lessons I learned along the way.</p><p><strong>A Personal Connection</strong></p><p>Growing up in a low-income community, I experienced firsthand the limitations that hindered access to quality education. Witnessing the potential of my peers go untapped due to a lack of resources and educational opportunities fueled my determination to make a difference. This personal connection became the driving force behind my decision to work on an EdTech app specifically designed for low-income households.</p><p><strong>Accomplishments Summary</strong></p><p>Through countless hours of research, development, and collaboration, I successfully built an EdTech app that revolutionizes learning for low-income households. The app offers a wide range of interactive educational content, including video lessons, quizzes, and interactive exercises, catering to different age groups and academic subjects. It also features a gamified reward system to motivate and engage learners, fostering a positive learning experience.</p><p><strong>The Toughest Technical Challenge</strong></p><p>One of the most difficult technical challenges I encountered was ensuring seamless functionality and accessibility across a variety of devices and internet speeds. Low-income households often face connectivity issues and may possess older devices with limited capabilities. Overcoming this challenge required optimizing the app’s performance, implementing efficient data compression techniques, and providing offline functionality to ensure continuous learning despite internet disruptions.</p><p><strong>Lessons Learned</strong></p><p>Throughout the development process, I learned invaluable lessons that have shaped me both as a software engineer and as an individual. I discovered the importance of user-centered design, actively involving the target users to understand their needs and tailor the app to their specific requirements. Additionally, I gained a deep appreciation for the significance of empathy, recognizing that every user has unique circumstances that must be considered to deliver an inclusive and impactful solution.</p><p><strong>About Me</strong></p><p>As a software engineer, my passion lies in leveraging technology to create positive social change. I am driven by a desire to empower individuals and communities through innovative solutions that address their specific challenges. Through this EdTech project, I found a way to merge my technical expertise with my commitment to education and social equality.</p><p><strong>Conclusion</strong></p><p>Building an EdTech app for low-income households has been a rewarding journey. I am proud of what I have accomplished and the positive impact it can have on the lives of underserved learners. By combining my technical skills, personal experiences, and a deep sense of purpose, I hope to continue working on projects that bridge the educational divide and empower individuals to reach their full potential.</p><p>To explore and download the app, visit the Play Store: <a href="https://play.google.com/store/apps/details?id=com.asoorji.examprep">https://play.google.com/store/apps/details?id=com.asoorji.examprep</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ddf4b2d72eea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Web2 to Web3: Explained Simply for Your 2-YEAR-OLD MIND!]]></title>
            <link>https://medium.com/@ndubuisiaso/from-web2-to-web3-explained-simply-for-your-2-year-old-mind-d2b20b06e6d1?source=rss-7e4d974d5e85------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2b20b06e6d1</guid>
            <category><![CDATA[web2]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[web3]]></category>
            <dc:creator><![CDATA[Aso Orji]]></dc:creator>
            <pubDate>Mon, 08 May 2023 05:00:45 GMT</pubDate>
            <atom:updated>2023-05-08T05:00:45.827Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*Pr9a4Kv3ItW8-iHsETSiuw@2x.jpeg" /></figure><p>1/ Hey there little one! Do you know what the internet is? It’s like a huge playground where people can share information and play games with each other.</p><p>2/ The internet has gone through different stages, just like you grow and change every year. The current stage is called Web2, and it’s where we are right now.</p><p>3/ Web2 is like a big library with lots of books. You can read the books, watch videos, and talk to other people, but you can’t really change anything in the library.</p><p>4/ Now, there’s a new stage coming up called Web3, and it’s like a playground where everyone can play and create together. You can build your own things and share them with others.</p><p>5/ In Web3, you don’t have to ask anyone for permission to play or create. It’s like having your own sandbox where you can build anything you want and share it with your friends.</p><p>6/ So, to sum it up, Web2 is like a library where you can read and learn, while Web3 is like a playground where you can build and play with others. Which one do you like better?</p><p>7/ Remember, as you grow up, the internet will keep changing and evolving. Who knows what the next stage will be? But for now, let’s enjoy playing in Web2 and look forward to exploring Web3 when we get there!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2b20b06e6d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Click to Search: A Journey Through the Web’s Wonders Explained to a TWO-YEAR-OLD!]]></title>
            <link>https://medium.com/@ndubuisiaso/from-click-to-search-a-journey-through-the-webs-wonders-explained-to-a-two-year-old-818fb7328a20?source=rss-7e4d974d5e85------2</link>
            <guid isPermaLink="false">https://medium.com/p/818fb7328a20</guid>
            <category><![CDATA[searchengineoptimization]]></category>
            <category><![CDATA[search]]></category>
            <category><![CDATA[click]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Aso Orji]]></dc:creator>
            <pubDate>Tue, 11 Apr 2023 12:59:15 GMT</pubDate>
            <atom:updated>2023-04-11T12:59:15.708Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SNTFLftW8LOxnfC5.png" /></figure><p>Have you ever wondered how you can go to Google.com? Let me explain it to you in a way that even a 2-year-old can understand!</p><p>When you type “<a href="https://www.google.com/">https://www.google.com</a>&quot; into your browser, your computer sends a request to the DNS server. Think of the DNS server as a phone book for the internet. It tells your computer the IP address of the website you want to visit. An IP address is like a street address for a website.</p><p>Once your computer has the IP address, it sends a request to the web server using a protocol called TCP/IP. This is like sending a letter to the website you want to visit. The TCP/IP protocol makes sure that the letter gets there and that the website knows what you’re asking for.</p><p>But before your request can get to the web server, it has to go through a firewall. Think of a firewall as a gatekeeper. It makes sure that only the right requests get through to the web server and that nothing bad can get in.</p><p>Once your request gets past the firewall, it goes to a load balancer. This is like a traffic cop for the internet. It makes sure that your request gets to the right web server. Google has a lot of web servers, so the load balancer helps spread out the requests so that no one web server gets too busy.</p><p>When your request finally gets to the web server, it’s like walking into a store. The web server has all the information that Google wants to show you, like search results and pictures. But sometimes, the web server needs more information from an application server or a database. This is like asking someone at the store for help finding what you’re looking for.</p><p>Finally, when the web server has all the information it needs, it sends it back to your computer using HTTPS/SSL. This is like getting a package in the mail. HTTPS/SSL makes sure that the package is safe and that no one else can see what’s inside.</p><p>And that’s how you go to Google.com! It might seem like many steps, but it all happens in just a few seconds.</p><p>Contact me: <a href="https://api.whatsapp.com/send?phone=2348129976178">WhatsApp</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=818fb7328a20" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[FRONTEND and BACKEND Explained with a CAKE Analogy to a TWO-YEAR-OLD]]></title>
            <link>https://medium.com/@ndubuisiaso/frontend-and-backend-explained-with-a-cake-analogy-to-a-two-year-old-f11aa05d90de?source=rss-7e4d974d5e85------2</link>
            <guid isPermaLink="false">https://medium.com/p/f11aa05d90de</guid>
            <dc:creator><![CDATA[Aso Orji]]></dc:creator>
            <pubDate>Fri, 07 Apr 2023 05:08:56 GMT</pubDate>
            <atom:updated>2023-04-07T05:08:56.580Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ybc9am7S0eucX97woMys9w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H0vhbQhhjyqE_S3QTQZT-w.jpeg" /></figure><p>1/ Hi there! Have you ever heard of frontend and backend? These are two important parts of websites and apps. But don’t worry if you don’t know what they mean. Let me explain them to you like we’re talking about a cake, even a 2-year-old can understand!</p><p>2/ Frontend and backend are like two parts of a cake. The frontend is the part of the cake that you can see and touch. It’s the part that you can decorate with frosting, sprinkles, and other toppings.</p><p>3/ In a website or app, the frontend is what you see on the screen, like the colors, buttons, pictures, and text. It’s what makes the website or app look pretty and fun to use, just like how a cake with colorful frosting and sprinkles is fun to look at.</p><p>4/ The backend, on the other hand, is like the inside of the cake. It’s the part you can’t see or touch, but it’s just as important. The backend is where all the magic happens, like mixing the ingredients, baking the cake, and making sure it tastes good.</p><p>5/ In a website or app, the backend is where all the data and logic are stored, like the user information, database, and server. It’s what makes the website or app work properly and do all the cool things it can do, just like how the cake’s inside makes sure it’s tasty and delicious.</p><p>6/ So, just like a cake needs both the frontend and backend to be complete and delicious, a website or app needs both parts to work properly and be enjoyable to use, just like how a cake needs both parts to be tasty and fun to eat.</p><p>7/ I hope that helps you understand frontend and backend a bit better, even if you’re only 2 years old! If you have any more questions, feel free to ask. And remember, just like cake, websites, and apps can be both fun and delicious! 🍰</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f11aa05d90de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[         : …]]></title>
            <link>https://medium.com/@ndubuisiaso/-44649179b14a?source=rss-7e4d974d5e85------2</link>
            <guid isPermaLink="false">https://medium.com/p/44649179b14a</guid>
            <category><![CDATA[newbie]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Aso Orji]]></dc:creator>
            <pubDate>Fri, 07 Apr 2023 05:08:07 GMT</pubDate>
            <atom:updated>2023-04-07T05:08:07.229Z</atom:updated>
            <content:encoded><![CDATA[<h3>𝗪𝗛𝗔𝗧 𝗬𝗢𝗨 𝗦𝗛𝗢𝗨𝗟𝗗 𝗡𝗘𝗩𝗘𝗥 𝗗𝗢 𝗔𝗦 𝗔 𝗕𝗘𝗚𝗜𝗡𝗡𝗘𝗥 𝗜𝗡 𝗧𝗘𝗖𝗛: 𝗡𝘂𝗺𝗯𝗲𝗿 𝟰 𝘄𝗶𝗹𝗹 𝗯𝗹𝗼𝘄 𝘆𝗼𝘂𝗿 𝗺𝗶𝗻𝗱.</h3><p>Someone asked me “Orji, I’m an UPCOMING Web Dev, but at some point, I feel I’m not just heading towards the right path and I lose interest when that sets in. Also, I find javaScript difficult”</p><p>Those were his words and with his permission, I thought to share LITTLE nuggets I’ve picked up over time. Permit me to call it:</p><p>“THE BEGINNERS DILEMMA”</p><p>1. Nigeria will probably “disgrace you” with “No-light” and an average beginner will most like not have money for ENOUGH data. This is the start of the beginner&#39;s dilemma. Looking for electricity and burning huge MIDNIGHT data plan while simultaneously sacrificing “sweet sleep”. Is it worth it? You inwardly asked. Well, only you can answer that my dear friend. But he/she who survives these DARK days would have built the temerity to withstand darker ones ahead.</p><p>2. NEVER wait till you perfect the programming language before building projects with it. Truth is, you will never be 100%, so while tarry any longer when you can build simple projects with the little you know. Project-based learning is “bae” Find beginner projects online and follow through. You get to learn and also add to your portfolio.</p><p>3. NEVER jump from one programming language or framework to another. Master the basics first before starting to react, vue, or go angular (“Frameworks no dey finish”). For Web Dev, HTML, CSS, and Js are enough to build a full and scalable front-end web app. For Mobile Dev, Flutter Dart and Firebase will do just fine. For my Data Science (DS) folks, never underrate Excel, your SQL must be handy, PowerBi gives you finesse and Python makes the world go round. These 4 suffice for DS</p><p>4. Even senior software engineers still search “how to…” on Google. Surprised right? Yeah. No one knows it all.</p><p>5. NEVER feel it is too late to start afresh: Most of your mates might have gone ahead and you might be tempted to fill you can never catch up. But hey my friend, the good news is — the best time to start was 10 years ago and the next best time to start is NOW. He who grows up stays up, he who jumps up comes down. Don’t jump process.</p><p>6. While starting out, you’ll probably spend more time debugging than doing the actual coding. Don’t be discouraged, you’re not alone. Keep at it. At the end of the tunnel shines a glimpse of light.</p><p>7. Kindly add yours if you’ve experienced the “beginners dilemma”, so folks can learn from it</p><p>Thanks for reading to the end.<br>Cheers to days of little beginning 🥂</p><p>BONUS: Never be ashamed to ask questions, that was why Google was created</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44649179b14a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter Packages and Plugins Explained to a TWO-YEAR-OLD.]]></title>
            <link>https://medium.com/@ndubuisiaso/flutter-packages-and-plugins-explained-to-a-two-year-old-35bafaf15efb?source=rss-7e4d974d5e85------2</link>
            <guid isPermaLink="false">https://medium.com/p/35bafaf15efb</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[plugins]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[kids]]></category>
            <category><![CDATA[package]]></category>
            <dc:creator><![CDATA[Aso Orji]]></dc:creator>
            <pubDate>Thu, 23 Mar 2023 08:50:44 GMT</pubDate>
            <atom:updated>2023-03-23T08:50:44.083Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*CnnsHrnchbwfpSce" /></figure><p>Hello there!</p><p>Do you know what a toy box is?</p><p>Just like a toy box has different toys, a Flutter app can have different pieces of code to do different things.</p><p>A “package” is like a new toy you add to your toy box. It’s a collection of code that someone else made that you can use in your app.</p><p>A “plugin” is also like a new toy, but it’s a little different. It’s a collection of code that helps your app talk to something else, like a camera or a map. It’s like a toy phone that helps you talk to your friends.</p><p>So, packages are like new toys you can play with, and plugins are like special toys that help you do special things with your app.</p><p>If you want to know how to write your own package, see the guide below:</p><p><a href="https://medium.com/@ndubuisiaso/a-step-by-step-guide-on-how-to-create-and-publish-your-own-flutter-package-25f476db679c">A Step by Step Guide on How to Create and Publish Your Own Flutter Package</a></p><p>Contact me: <a href="https://api.whatsapp.com/send?phone=2348129976178">WhatsApp</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35bafaf15efb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Flutter Stream Builder: A Beginner’s Guide]]></title>
            <link>https://medium.com/@ndubuisiaso/exploring-flutter-stream-builder-a-beginners-guide-83feded6db5c?source=rss-7e4d974d5e85------2</link>
            <guid isPermaLink="false">https://medium.com/p/83feded6db5c</guid>
            <category><![CDATA[future]]></category>
            <category><![CDATA[streambuilder]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Aso Orji]]></dc:creator>
            <pubDate>Tue, 07 Mar 2023 08:44:18 GMT</pubDate>
            <atom:updated>2023-03-07T10:01:20.933Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7I2gEfkNe0Bwaxc4.jpg" /></figure><p>Hello there, little friend! Do you want to learn about something called Flutter Stream Builder? It may sound a little scary, but don’t worry, I’m going to explain it to you in a way that’s easy to understand.</p><p>Flutter is a tool that people use to make cool apps for phones and tablets. Stream Builder is a special tool inside Flutter that helps show you things that change over time. It’s like looking at a video that keeps playing and changing as you watch it.</p><p>Let’s imagine that you have a toy that spits out a different number every second. You want to show that number on your phone screen. How do you do it? You use Stream Builder! It helps you listen to the toy and show the number on the screen every time it changes.</p><p>Now, let’s see how it works in code. You know how grown-ups use code to talk to computers? We can do that too! Here’s what the code would look like:</p><pre>StreamBuilder&lt;int&gt;(<br>  stream: yourToy.streamOfNumbers,<br>  builder: (BuildContext context, AsyncSnapshot&lt;int&gt; snapshot) {<br>    if (snapshot.hasData) {<br>      return Text(&#39;The number is: ${snapshot.data}&#39;);<br>    } else {<br>      return Text(&#39;Loading...&#39;);<br>    }<br>  },<br>),</pre><p>The yourToy.streamOfNumbers part is where we tell Stream Builder to listen to the toy and get the numbers. The builder part is where we tell it what to do with those numbers. If we have a number, we show it on the screen with the Text widget. If we don&#39;t have a number yet, we show &quot;Loading...&quot; instead.</p><p>Let’s see a demo app that uses Stream Builder to show a random number on the screen every second.</p><p>First, we create a new Flutter project and open the main.dart file. We then create a RandomNumbersScreen widget that generates a stream of random numbers every second using the Stream.periodic constructor.</p><h3>Demo App Code</h3><p>Here’s a simple demo app that uses a Stream Builder to display a list of random numbers that updates every second:</p><pre>import &#39;dart:async&#39;;<br>import &#39;dart:math&#39;;<br><br>import &#39;package:flutter/material.dart&#39;;<br><br>void main() =&gt; runApp(const MyApp());<br><br>class MyApp extends StatelessWidget {<br>  const MyApp({Key? key}) : super(key: key);<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return const MaterialApp(<br>      title: &#39;Stream Builder Demo&#39;,<br>      home: RandomNumbersScreen(),<br>    );<br>  }<br>}<br><br>class RandomNumbersScreen extends StatefulWidget {<br>  const RandomNumbersScreen({Key? key}) : super(key: key);<br><br>  @override<br>  _RandomNumbersScreenState createState() =&gt; _RandomNumbersScreenState();<br>}<br><br>class _RandomNumbersScreenState extends State&lt;RandomNumbersScreen&gt; {<br>  late Stream&lt;int&gt; _randomNumbersStream;<br><br>  @override<br>  void initState() {<br>    super.initState();<br>    _randomNumbersStream = Stream.periodic(<br>        const Duration(seconds: 1), (i) =&gt; Random().nextInt(100));<br>  }<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      appBar: AppBar(<br>        title: const Text(&#39;Random Numbers&#39;),<br>      ),<br>      body: Center(<br>        child: StreamBuilder&lt;int&gt;(<br>          stream: _randomNumbersStream,<br>          builder: (BuildContext context, AsyncSnapshot&lt;int&gt; snapshot) {<br>            if (snapshot.hasData) {<br>              return Text(<br>                &#39;Random number: ${snapshot.data}&#39;,<br>                style: const TextStyle(fontSize: 24),<br>              );<br>            } else if (snapshot.hasError) {<br>              return Text(&#39;Error: ${snapshot.error}&#39;);<br>            } else {<br>              return const CircularProgressIndicator();<br>            }<br>          },<br>        ),<br>      ),<br>    );<br>  }<br>}</pre><p>In this example, we create a RandomNumbersScreen widget that generates a stream of random numbers every second using the Stream.periodic constructor. We then use the StreamBuilder widget to listen to the stream and show the random number on the screen every time it changes.</p><p>When the app first starts, we show a spinning circle to let the user know that something is happening. When the random number is available, we show it on the screen with a bigger font size. If there is an error, we show an error message instead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RhXvv-VqQogNbik9Jqrz-g.gif" /></figure><h3>Conclusion</h3><p>That’s it! You’ve learned how to use Flutter Stream Builder to show things that change over time. You can use it to show anything you want that keeps changing, like the weather or the score of a game.</p><p>I hope you had fun learning about Flutter Stream Builder today. Don’t forget to keep practicing and exploring new things!</p><p>If you find this useful, please leave a clap and follow me 😊😊😊</p><p>Happy coding!</p><p><em>Source code: </em><a href="https://github.com/asoorji/articles-tutorial_guide/blob/main/streambuilder.dart"><em>github</em></a></p><p><em>Have any clarification, kindly reach me on </em><a href="https://api.whatsapp.com/send?phone=2348129976178"><em>WhatsApp</em></a><em>.</em></p><p><em>I talk about Flutter, so let’s connect on </em><a href="https://twitter.com/AsoOrji"><em>Twitter</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83feded6db5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Dart: Unleashing the Power of Closures and Fold Method]]></title>
            <link>https://medium.com/@ndubuisiaso/mastering-dart-unleashing-the-power-of-closures-and-fold-method-5d0d25194ed0?source=rss-7e4d974d5e85------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d0d25194ed0</guid>
            <category><![CDATA[closure]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[fold]]></category>
            <category><![CDATA[dart]]></category>
            <dc:creator><![CDATA[Aso Orji]]></dc:creator>
            <pubDate>Wed, 22 Feb 2023 16:17:02 GMT</pubDate>
            <atom:updated>2023-02-22T16:17:02.723Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*efVPmtFrQS2dIATZbCcPNQ.png" /></figure><p><strong>What is a Closure?</strong></p><p>A closure is like a magic box that can remember some toys you put inside. When you open the box, you can still play with those toys.</p><p>In Dart, a closure is a special kind of box called a “function”. You can put some toys (variables) inside the function, and when you use the function later, it will remember those toys.</p><p>For example, let’s say you have a toy car named “A”. You put the car inside a function box called “addA”. When you use the “addA” function later, it will add the car “A” to any other car you give it.</p><pre>void main() {<br>  var a = &quot;A&quot;;<br>  Function addA = (String b) =&gt; a + b;<br>  print(addA(&quot;B&quot;)); // prints &quot;AB&quot;<br>}</pre><p>In this example, the “addA” function is like a magic box that remembers the car “A”. When you call the function with the car “B”, it will add “A” and “B” together to make “AB”.</p><p><strong>Here’s a simplier example of how to use the closure in Dart</strong></p><pre>void main() {<br>  int number = 5;<br>  Function addNumber = (int x) =&gt; x + number;<br>  <br>  print(addNumber(3)); // prints 8<br>}</pre><p>In this example, we have a variable called number which has the value of 5. We also have a closure called addNumber that takes an integer argument x and returns the sum of x and number.</p><p>When we call the addNumber function with the argument 3, it adds 3 and 5 together and returns the result 8.</p><p>The interesting thing about closures is that they can “capture” variables from the enclosing scope. In this example, the addNumber function captures the number variable from the enclosing scope, even though it&#39;s not passed in as an argument.</p><p>So even though the number variable is declared outside the function, we can still access it from within the function because of the closure. The addNumber function &quot;closes over&quot; the number variable and remembers its value.</p><p>This is a very simple example, but closures can be very powerful and useful for creating more complex functions in Dart. They allow you to create functions that remember state and can be customized with different arguments.</p><p>Also, closures can be very useful for creating functions that depend on some external state. For example, you might create a closure that generates unique IDs based on a counter:</p><pre>void main() {<br>  var counter = 0;<br>  Function generateId = () =&gt; counter++;<br>  print(generateId()); // prints 0<br>  print(generateId()); // prints 1<br>  print(generateId()); // prints 2<br>}</pre><p>In this example, generateId is a closure that has access to the counter variable from its lexical scope. Each time it is called, it increments counter and returns the new value.</p><h3>Using the fold Method in Dart</h3><p>The fold method is like a machine that can help you count all your toys.</p><p>For example, let’s say you have a basket of toy cars. You want to count how many cars are in the basket. You can use the fold machine to help you.</p><p>The machine will start with a number (let’s say 0) and add up all the cars in the basket. When it’s done, it will give you the final count.</p><pre>void main() {<br>  List&lt;String&gt; cars = [&quot;A&quot;, &quot;B&quot;, &quot;C&quot;, &quot;D&quot;, &quot;E&quot;];<br>  int count = cars.fold(0, (int acc, String curr) =&gt; acc + 1);<br>  print(count); // prints 5<br>}</pre><p>In this example, the “cars.fold(0, (int acc, String curr) =&gt; acc + 1)” machine starts with the number 0 and adds 1 for each car in the basket. When it’s done, it gives you the final count (which is 5 in this case).</p><p><strong>Here’s a simplier example of how to use the </strong><strong>fold method in Dart</strong></p><pre>void main() {<br>  List&lt;int&gt; numbers = [1, 2, 3, 4, 5];<br>  int sum = numbers.fold(0, (int acc, int curr) =&gt; acc + curr);<br>  print(sum); // prints 15<br>}</pre><p>In this example, we have a list of numbers [1, 2, 3, 4, 5]. We want to calculate the sum of all the numbers in the list.</p><p>To do this, we use the fold method on the list. The fold method takes two arguments: an initial value (which is 0 in this case), and a function that combines the elements of the list.</p><p>The function takes two parameters: the accumulator (acc) and the current element of the list (curr). The accumulator is the running total of the sum, and the current element is the current number being added. The function returns the sum of the accumulator and the current element.</p><p>The fold method will start with the initial value (which is 0 in this case), and then it will apply the function to the first element of the list and the initial value. The result of the function becomes the new accumulator value, and the process repeats for each element of the list until all elements have been processed.</p><p>Finally, the fold method will return the final accumulator value, which is the sum of all the elements in the list (which is 15 in this case). We store this value in the sum variable and print it to the console.</p><p>I hope this simpler example helps you understand how the fold method works in Dart!</p><p>The fold method can be used for a variety of purposes, such as finding the maximum or minimum value in a collection, concatenating strings, or even implementing complex algorithms.</p><h3>Conclusion</h3><p>Closures and the fold method are powerful language features in Dart that allow for more concise and expressive code. Closures can be used to encapsulate state and behavior, while the fold method can be used to reduce a collection to a single value. By mastering these features, you can write more elegant and efficient Dart code.</p><p><em>If you have any clarification, kindly reach me on </em><a href="https://api.whatsapp.com/send?phone=2348129976178"><em>WhatsApp</em></a><em>.</em></p><p><em>I talk about Flutter, so let’s connect on </em><a href="https://twitter.com/AsoOrji"><em>Twitter</em></a></p><p><strong>Thanks for reading through. Do well to leave a clap and follow</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d0d25194ed0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Bring Your Flutter App to the Web: A Step-by-Step Guide]]></title>
            <link>https://medium.com/@ndubuisiaso/how-to-bring-your-flutter-app-to-the-web-a-step-by-step-guide-c1793d41fbf5?source=rss-7e4d974d5e85------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1793d41fbf5</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[flutter-web]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Aso Orji]]></dc:creator>
            <pubDate>Tue, 21 Feb 2023 13:56:10 GMT</pubDate>
            <atom:updated>2023-02-21T14:42:44.049Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zoorPfkqdbhmfUrcqhxIdQ.jpeg" /></figure><p>Have you ever experienced slow and laggy performance when running your Flutter app on an Android emulator? If so, you’re not alone. But, what if we told you that running your Flutter app on the web could be a better option?</p><p>Flutter web support was introduced in version 2.0, making it possible to build web apps with the same codebase as your mobile apps. In this article, we’ll explore why you might want to consider running your Flutter app on the web if you’re experiencing issues with the emulator.</p><p><strong>Step 1: Install the Latest Version of Flutter</strong></p><p>Before you can run your Flutter app on the web, make sure you have the latest version of Flutter installed. If you haven&#39;t already, you can follow the installation instructions for your operating system. Once you have Flutter installed, enable web support by running the following command in your terminal:</p><pre>flutter config --enable-web</pre><p><strong>Step 2: Create a New Flutter Project</strong></p><p>To get started with a new Flutter project, run the following command in your terminal:</p><pre>flutter create mywebapp</pre><p>Replace “<em>mywebapp</em>” with the name of your app. This will create a new Flutter project that is ready for web support.</p><p><strong>Step 3: Run the App on the Web</strong></p><p>Now that you have a new Flutter project, it’s time to run it on the web. Go to the project directory and run the following command in the terminal:</p><pre>flutter run -d chrome</pre><p>This will launch your app in the Chrome browser as shown in the image below. You can also run your app in other web browsers by replacing “chrome” with the name of the browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YsFP2qi9ZO8O0MQ0qlobBg.png" /></figure><p>Step 4: Test and Optimize With your Flutter app now running on the web, it’s time to test and optimize it for the web. Keep in mind that not all Flutter plugins and packages may be compatible with the web, so make sure to check the documentation for any packages you use.</p><p>Additionally, you may want to adjust your app’s layout and design for the web. This could include using responsive design techniques or optimizing your app’s performance for web browsers.</p><p><strong>Conclusion</strong></p><p>Bringing your Flutter app to the web is a great way to reach a wider audience and take advantage of the cross-platform benefits of the Flutter framework. By following these simple steps, you can easily run your Flutter app on the web and begin optimizing it for a web environment.</p><p><em>If you have any clarification, kindly reach me on </em><a href="https://api.whatsapp.com/send?phone=2348129976178"><em>WhatsApp</em></a><em>.</em></p><p><em>I talk about Flutter, so let&#39;s connect on </em><a href="https://twitter.com/AsoOrji"><em>Twitter</em></a></p><p>Thanks for reading through.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1793d41fbf5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>