<?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 Rohan Joshi on Medium]]></title>
        <description><![CDATA[Stories by Rohan Joshi on Medium]]></description>
        <link>https://medium.com/@rohanjsh?source=rss-9d9ad93dfbb7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*7Bo70PdbCZp4ONpefk-krQ.jpeg</url>
            <title>Stories by Rohan Joshi on Medium</title>
            <link>https://medium.com/@rohanjsh?source=rss-9d9ad93dfbb7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 19:26:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rohanjsh/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[TypeSet: Bringing WhatsApp-Style Text Formatting to Your Flutter Apps]]></title>
            <link>https://rohanjsh.medium.com/typeset-bringing-whatsapp-style-text-formatting-to-your-flutter-apps-9690c5979c35?source=rss-9d9ad93dfbb7------2</link>
            <guid isPermaLink="false">https://medium.com/p/9690c5979c35</guid>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[markdown]]></category>
            <category><![CDATA[whatsapp]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Rohan Joshi]]></dc:creator>
            <pubDate>Tue, 08 Apr 2025 19:52:45 GMT</pubDate>
            <atom:updated>2025-04-08T19:52:45.394Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Transform your Flutter app’s text experience with powerful, intuitive formatting that users already know and love.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R7wRlcJvvY51BNot1jnleQ.png" /></figure><h3>Introduction</h3><p>In today’s messaging-centric world, users have become accustomed to rich text formatting in their everyday communications. From WhatsApp and Telegram to Slack and Discord, the ability to emphasize text with <strong>bold</strong>, <em>italic</em>, strikethrough, and other styles has become second nature.</p><p>But implementing these features in your Flutter app? That’s traditionally been a complex challenge requiring custom widgets, complex styling logic, and a significant development investment.</p><p>Enter <strong>TypeSet</strong> — a powerful Flutter package that brings familiar WhatsApp-like text styling to your apps with minimal effort, while offering advanced capabilities that go beyond what most messaging platforms provide.</p><h3>What is TypeSet?</h3><p>TypeSet is a lightweight, highly customizable text styling solution for Flutter that enables rich text formatting using simple, intuitive syntax. It allows both developers and end-users to create visually engaging text with familiar markdown-like formatting markers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iq_lPpTwsdmC22QX" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*rN9cU-JnmGd-w4Qg" /><figcaption><strong>TypeSet Demo</strong></figcaption></figure><h3>Key Features That Set TypeSet Apart</h3><h3>1. Familiar WhatsApp-Like Syntax</h3><p>TypeSet uses intuitive syntax that your users likely already know:</p><pre>TypeSet(&#39;Hello *bold* _italic_ ~strikethrough~ #underlined# `monospace` text&#39;);</pre><p>This produces text with each style applied exactly as expected, making it instantly familiar to users of popular messaging apps.</p><h3>2. Interactive Text Editing with TypeSetEditingController</h3><p>The real magic happens with the TypeSetEditingController – a drop-in replacement for Flutter&#39;s standard TextEditingController that brings real-time formatting to input fields:</p><pre>TextField(<br>  controller: TypeSetEditingController(<br>    text: &#39;Type *bold* and _italic_ text here&#39;,<br>    markerColor: Colors.grey.shade400,<br>  ),<br>  maxLines: 3,<br>)</pre><h3>3. Context Menu Integration</h3><p>TypeSet seamlessly integrates with Flutter’s text selection menu, adding formatting options that users can apply with a simple tap:</p><pre>TextField(<br>  controller: TypeSetEditingController(),<br>  contextMenuBuilder: (context, editableTextState) {<br>    return AdaptiveTextSelectionToolbar.buttonItems(<br>      anchors: editableTextState.contextMenuAnchors,<br>      buttonItems: [<br>        ...getTypesetContextMenus(editableTextState: editableTextState),<br>        ...editableTextState.contextMenuButtonItems,<br>      ],<br>    );<br>  },<br>)</pre><p>This creates a native-feeling experience where users can select text and apply formatting directly from the context menu — just like in their favorite messaging apps.</p><h3>4. Backend-Driven Styling</h3><p>One of TypeSet’s most powerful features is its ability to render formatted text from your backend. This means you can:</p><ul><li>Store formatted text in your database</li><li>Send formatted notifications</li><li>Update text styling without app updates</li><li>Create dynamic, rich text experiences driven by your server</li></ul><h3>5. Hyperlinks with Custom Actions</h3><p>TypeSet makes it easy to include tappable links in your text:</p><pre>TypeSet(<br>  &#39;§Visit our website|https://example.com§&#39;,<br>  linkRecognizerBuilder: (linkText, url) =&gt;<br>    TapGestureRecognizer()..onTap = () {<br>      // Custom action when link is tapped<br>    },<br>)</pre><h3>6. Dynamic Font Sizing</h3><p>Need to emphasize certain words with different sizes? TypeSet has you covered:</p><pre>TypeSet(&#39;Regular text with *bigger&lt;24&gt;* words&#39;);</pre><p>This unique feature allows for creative typography and emphasis that goes beyond what most rich text solutions offer.</p><h3>Getting Started with TypeSet</h3><p>Adding TypeSet to your Flutter project is straightforward:</p><ol><li>Add the dependency to your pubspec.yaml:</li></ol><pre>dependencies:<br>  typeset: ^2.3.0  # Check pub.dev for the latest version</pre><ol><li>Import the package:</li></ol><pre>import &#39;package:typeset/typeset.dart&#39;;</pre><ol><li>Start using it in your UI:</li></ol><pre>TypeSet(&#39;Hello *Flutter* developers!&#39;);</pre><h3>Real-World Use Cases</h3><h3>Chat Applications</h3><p>The most obvious application is in messaging apps, where TypeSet provides a familiar, WhatsApp-like experience out of the box. Users can format their messages with bold, italic, and other styles using the syntax they already know.</p><h3>Dynamic Content from Backend</h3><p>Apps that display content from a backend can use TypeSet to render rich text without having to implement complex HTML parsing or custom rendering logic. Simply store the formatted text with TypeSet’s syntax and display it directly.</p><h3>Advanced Customization</h3><p>TypeSet is highly customizable, allowing you to tailor the styling to match your app’s design language:</p><pre>TypeSet(<br>  &#39;Custom *styling* for your _app_&#39;,<br>  boldStyle: TextStyle(<br>    fontWeight: FontWeight.w900,<br>    color: Colors.red,<br>  ),<br>  italicStyle: TextStyle(<br>    fontStyle: FontStyle.italic,<br>    color: Colors.blue,<br>  ),<br>  linkStyle: TextStyle(<br>    color: Colors.purple,<br>    decoration: TextDecoration.underline,<br>  ),<br>)</pre><p>You can customize every aspect of the formatting, from colors and font weights to the appearance of the formatting markers themselves.</p><h3>Performance Considerations</h3><p>TypeSet is designed to be lightweight and efficient, with minimal impact on your app’s performance. The parsing and rendering logic is optimized for speed, making it suitable for use in scrolling lists and other performance-sensitive contexts.</p><h3>Community and Support</h3><p>TypeSet is an open-source project with an active community of contributors. If you encounter issues or have feature requests, the project maintainers are responsive and engaged:</p><ul><li><a href="https://github.com/rohanjsh/typeset">GitHub Repository</a></li><li><a href="https://pub.dev/packages/typeset">Pub.dev Package</a></li><li><a href="https://github.com/rohanjsh/typeset/issues">Issue Tracker</a></li></ul><p><em>If you found this article helpful, please consider giving the </em><a href="https://github.com/rohanjsh/typeset"><em>TypeSet package</em></a><em> a star on GitHub and sharing this article with fellow Flutter developers.<br>Connect — </em><a href="https://rohanjsh.dev/"><em>https://rohanjsh.dev</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9690c5979c35" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quick Start iOS Development — Part 4]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://rohanjsh.medium.com/quick-start-ios-development-part-4-77e2b7621a09?source=rss-9d9ad93dfbb7------2"><img src="https://cdn-images-1.medium.com/max/1200/1*DIWBnKH9a-b1Z5bDhMeALQ.jpeg" width="1200"></a></p><p class="medium-feed-snippet">SwiftUI Basics</p><p class="medium-feed-link"><a href="https://rohanjsh.medium.com/quick-start-ios-development-part-4-77e2b7621a09?source=rss-9d9ad93dfbb7------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://rohanjsh.medium.com/quick-start-ios-development-part-4-77e2b7621a09?source=rss-9d9ad93dfbb7------2</link>
            <guid isPermaLink="false">https://medium.com/p/77e2b7621a09</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[swiftui]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[app-development]]></category>
            <dc:creator><![CDATA[Rohan Joshi]]></dc:creator>
            <pubDate>Wed, 07 Feb 2024 16:16:43 GMT</pubDate>
            <atom:updated>2024-02-08T18:44:39.174Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Quick Start iOS Development — Part 3]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://rohanjsh.medium.com/quick-start-ios-development-part-3-9c9664430c90?source=rss-9d9ad93dfbb7------2"><img src="https://cdn-images-1.medium.com/max/1200/1*wuZbCPhOGewUBcV9G-GTHA.jpeg" width="1200"></a></p><p class="medium-feed-snippet">Advanced Swift Concepts</p><p class="medium-feed-link"><a href="https://rohanjsh.medium.com/quick-start-ios-development-part-3-9c9664430c90?source=rss-9d9ad93dfbb7------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://rohanjsh.medium.com/quick-start-ios-development-part-3-9c9664430c90?source=rss-9d9ad93dfbb7------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c9664430c90</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[swiftui]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[app-development]]></category>
            <dc:creator><![CDATA[Rohan Joshi]]></dc:creator>
            <pubDate>Wed, 10 Jan 2024 08:39:51 GMT</pubDate>
            <atom:updated>2024-02-08T18:39:43.027Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Quick Start iOS Development — Part 2]]></title>
            <link>https://rohanjsh.medium.com/quick-start-ios-development-part-2-8919dac9d67d?source=rss-9d9ad93dfbb7------2</link>
            <guid isPermaLink="false">https://medium.com/p/8919dac9d67d</guid>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swiftui]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Rohan Joshi]]></dc:creator>
            <pubDate>Mon, 08 Jan 2024 07:19:02 GMT</pubDate>
            <atom:updated>2024-02-08T18:47:05.530Z</atom:updated>
            <content:encoded><![CDATA[<h3>Swift Programming: Variables, Control Flow, Functions, and Object-Oriented Concepts</h3><h4>Introduction to Swift Programming: From Basics — Part 2 of <a href="https://rohanjsh.medium.com/list/quick-start-ios-development-51f89d0b3fad">series</a></h4><p>Before starting, <strong>Open Xcode, Click on File =&gt; New =&gt; Playground =&gt; iOS =&gt; Blank</strong>, and create a new playground to run Swift Code.</p><h3>Swift Fundamentals</h3><h4>Variables and Constants</h4><p>Swift uses var to declare variables and let to declare constants.</p><pre>var variableName: DataType = initialValue<br>let constantName: DataType = initialValue</pre><p>Example:</p><pre>var greeting: String = &quot;Hello&quot;<br>let pi: Double = 3.14159</pre><p>Constants (let) cannot change their value after they are set, while variables (var)may.</p><h4>Data Types</h4><p>Some common data types in Swift include:</p><ul><li>String for text</li><li>Int for whole numbers</li><li>Bool for Boolean values</li><li>Double and Float for floating-point numbers</li></ul><p>Swift is a type-safe language, meaning it encourages you to be clear about the types of values your code can work with.</p><h4>Control Flow</h4><p>Swift provides several ways to control the flow of code execution, including if statements, switch cases, and loops.</p><p><strong>If Statement:</strong></p><pre>if someCondition {<br>    // Code to execute if someCondition is true<br>} else if anotherCondition {<br>    // Code to execute if anotherCondition is true<br>} else {<br>    // Code to execute if the above conditions are false<br>}</pre><p><strong>Switch-cases</strong></p><pre>switch &lt;#some value to consider#&gt; {<br>case &lt;#value 1#&gt;:<br>    &lt;#respond to value 1#&gt;<br>case &lt;#value 2#&gt;,<br>    &lt;#value 3#&gt;:<br>    &lt;#respond to value 2 or 3#&gt;<br>default:<br>    &lt;#otherwise, do something else#&gt;<br>}</pre><p><strong>For-In Loop:</strong></p><pre>for item in items {<br>    // Code to execute for each item in &#39;items&#39;<br>}</pre><p><strong>While Loop:</strong></p><pre>while someCondition {<br>    // Code to execute while someCondition remains true<br>}</pre><h4>Functions</h4><p>Functions are self-contained chunks of code designed to carry out particular tasks.</p><p>Syntax:</p><pre>func functionName(parameterName: ParameterType) -&gt; ReturnType {<br>    // Code<br>    return someValue<br>}</pre><p>Example:</p><pre>func greet(person: String) -&gt; String {<br>    let greeting = &quot;Hello, \(person)!&quot;<br>    return greeting<br>}</pre><p>Here you have a function named greet that takes one parameter of type String and also returns a String.</p><h3>Exercise: Try a simple function</h3><p>Let’s write a function that takes a person’s name as a parameter and prints a customised greeting.</p><pre>func greet(person: String) {<br>    let greeting = &quot;Starting iOS Development with, \(person)!&quot;<br>    print(greeting)<br>}<br><br>greet(person: &quot;Rohan&quot;) <br>// Outputs: Starting iOS Development with, Rohan!</pre><p>This function takes a String parameter and uses string interpolation to include it in a greeting, which is then printed to the console.</p><h4>Classes and Structures</h4><p>Swift uses classes and structures to define custom data types.</p><p>Structure Example:</p><pre>struct Person {<br>    var name: String<br>    var age: Int<br>}<br><br>var person1 = Person(name: &quot;John&quot;, age: 25)</pre><p>Class Example:</p><pre>class Vehicle {<br>    var numberOfWheels: Int<br>    <br>init(numberOfWheels: Int) {<br>        self.numberOfWheels = numberOfWheels<br>    }<br><br>func information() {<br>        print(&quot;I have \(numberOfWheels) wheels&quot;)<br>    }<br>}<br><br>let myVehicle = Vehicle(numberOfWheels: 4)<br>myVehicle.information() // Outputs: I have 4 wheels</pre><p>Classes are reference types, meaning that when you assign a class instance to a variable or constant, you are actually pointing to the same existing instance, whereas structures are value types, meaning that they replicate the instance. This is the primary distinction between classes and structures.</p><p>You now have a basic understanding of basic programming concepts and Swift syntax. Now write your function, experiment with conditionals and loops, and perhaps try defining a class or a structure. The logic in your programmes will be built using these technologies as the building blocks.</p><p><strong>Practice. Experiment. Learn</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HUr4y-nRrpCkJr23dB_uxw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8919dac9d67d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quick Start iOS Development — Part 1]]></title>
            <link>https://rohanjsh.medium.com/quick-start-ios-development-part-1-660aadf73535?source=rss-9d9ad93dfbb7------2</link>
            <guid isPermaLink="false">https://medium.com/p/660aadf73535</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[swiftui]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Rohan Joshi]]></dc:creator>
            <pubDate>Fri, 05 Jan 2024 14:14:24 GMT</pubDate>
            <atom:updated>2024-02-16T09:03:48.877Z</atom:updated>
            <content:encoded><![CDATA[<h3>SwiftUI for Beginners: Setting Up Your iOS Development Environment with Xcode</h3><h4>Getting Started with SwiftUI and Xcode — Part 1 of <a href="https://rohanjsh.medium.com/list/quick-start-ios-development-51f89d0b3fad">series</a></h4><p>As I learn about iOS, I want to share my learnings through series of articles. Mainly for those who have had bit of prior development experience. This series will help you quickly get started by writing some actual code in action.</p><p>Lets start!!</p><h3>Setting Up Your Development Environment</h3><h4>⚙️ Step 1: Installing Xcode</h4><ul><li>The IDE that is used for iOS development is Xcode. You’ll need a Mac to run Xcode.</li><li><a href="https://apps.apple.com/in/app/xcode/id497799835?mt=12">Download Xcode</a> from the Mac App Store.</li></ul><p>Once installed, go ahead and open Xcode.</p><h4>🌟 Step 2: Creating a New Project</h4><ul><li>Launch Xcode.</li><li>Either pick File &gt; New &gt; Project or select “Create a new Xcode project” from the welcome box.</li><li>Select the “iOS” app template and click then “Next”.</li><li>Type in the project name as per your wish, such as “FunApp”.</li><li>Verify that SwiftUI is selected for the interface.</li><li>Select Swift as the language.</li><li>Choose a location to save your project and then click “Create”.</li></ul><h4>🌌 Step 3: Become acquainted with Xcode</h4><ul><li>The window that you are seeing now is of the new project you just created.</li><li>The <strong>Navigator</strong> area, where you can choose which files to edit, is located on the left.</li><li>The <strong>Editor</strong> section, where you can write and edit code, is located in the center.</li><li>The <strong>Utility</strong> area, located on the right, displays information about the file that is now selected as well as the parts of the storyboard file’s interface when it is being used.</li></ul><h4>📝 Step 4: Fundamentals</h4><ul><li>Look for a file called “ContentView.swift” in the Navigator. Open this file</li><li>A basic SwiftUI view sample will be shown to you.</li></ul><p>This is an example of a basic SwiftUI ContentView structure:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1d78f3ce39e2bfd37837d66acfc3c1ac/href">https://medium.com/media/1d78f3ce39e2bfd37837d66acfc3c1ac/href</a></iframe><p>This code defines a new struct called ContentView, which conforms to the View protocol. This struct defines the content and layout for a view. It simply contains a text label that says &quot;Hello, world!&quot;.</p><h4>🚀 Step 5: Run Your App</h4><ul><li>Use Xcode simulator to observe your app in action.</li><li>The “Run” or “play” button can be located in the upper left corner of the Xcode window.</li><li>Xcode will build and launch your program when you click it. The “Hello, World!” text from your app should appear on a simulator.</li></ul><p>Congratulations! You’ve just set up your development environment and ran your first basic iOS app using SwiftUI.</p><p>In Part 2, we will explore Swift programming with variables, data types, functions, and control flow, and then we will move on to creating more distinct views with user input, etc. Remember, practice is essential, so try tweaking the text, adding new views, and experimenting with the code to see the results in the simulator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pqqDqvFmTOakds-6GPDnEw.png" /><figcaption>Apple Developer</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=660aadf73535" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is __typename in GraphQL and Why is it Significant?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://rohanjsh.medium.com/what-is-typename-in-graphql-and-why-is-it-significant-cf334515dbf7?source=rss-9d9ad93dfbb7------2"><img src="https://cdn-images-1.medium.com/max/860/1*h1Q_Zjru8Xr8CjVzn-8yHw.png" width="860"></a></p><p class="medium-feed-snippet">GraphQL is a powerful and flexible query language that allows you to retrieve data from an API in a structured and efficient way. One of&#x2026;</p><p class="medium-feed-link"><a href="https://rohanjsh.medium.com/what-is-typename-in-graphql-and-why-is-it-significant-cf334515dbf7?source=rss-9d9ad93dfbb7------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://rohanjsh.medium.com/what-is-typename-in-graphql-and-why-is-it-significant-cf334515dbf7?source=rss-9d9ad93dfbb7------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf334515dbf7</guid>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Rohan Joshi]]></dc:creator>
            <pubDate>Mon, 06 Mar 2023 03:58:43 GMT</pubDate>
            <atom:updated>2023-03-16T02:49:16.282Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Forget packages for UI in your next Flutter App]]></title>
            <link>https://rohanjsh.medium.com/forget-packages-for-ui-in-your-next-flutter-app-161dc1beb83a?source=rss-9d9ad93dfbb7------2</link>
            <guid isPermaLink="false">https://medium.com/p/161dc1beb83a</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[dependencies]]></category>
            <category><![CDATA[ux]]></category>
            <dc:creator><![CDATA[Rohan Joshi]]></dc:creator>
            <pubDate>Sun, 25 Apr 2021 15:18:01 GMT</pubDate>
            <atom:updated>2021-09-20T16:29:45.477Z</atom:updated>
            <content:encoded><![CDATA[<h4>Featuring: EARLY ACCESS — FLUTTER UI</h4><p>Yeah, you read it right.</p><p><strong>You are into flutter?</strong><br>- <em>Yes, I am. It is just great.</em></p><p><strong>Are you willing to speed up your UI development process and focus on core logic?</strong><br>- <em>Yeah.</em></p><p><strong>What do you do currently to speed up your development?</strong><br>- <em>Pre-made UI packages.</em></p><p><strong>Are you happy with continuous ‘imports’ and explicit packages?</strong><br>- <em>Unfortunately, not.</em></p><p>There you are, so let us begin with the <strong>magic.</strong><br>(Want to skip reading, head over to <a href="https://flutterui.design/">Flutter UI — Early Access</a>)</p><h4>INDEX</h4><ol><li><strong>About</strong></li><li><strong>Demo</strong></li><li><strong>Visual Demo</strong></li><li><strong>Resources</strong></li></ol><h4><strong>ABOUT</strong></h4><blockquote><a href="https://flutterui.design/"><strong>Flutter UI widgets, built for any project</strong></a><br><em>Utilize 15+ pre-made Flutter code snippets assisting with both design and functionality. Save hundreds of hours in development time, all with 0 dependencies.</em></blockquote><h4><strong>Highlighted Features:</strong></h4><ul><li>Save hours of development time by using prebuilt widgets.</li><li>All with 0 dependencies; Just copy, paste, and it’s in!</li></ul><h4><strong>Current Available Sections :</strong></h4><ol><li><strong>Full Apps<br></strong>- UI of apps for e-commerce, social media, clones.</li><li><strong>Widgets</strong><br>- To integrate with your existing app</li><li><strong>Screens</strong><br>- Common Screens required for majority of applications</li><li><strong>Utility</strong><br>- Utility Code &amp; Widgets</li></ol><h4><strong>Developed by Zachery Gentry</strong></h4><p><strong>Twitter : </strong><a href="https://twitter.com/zacherygentry">Zachery Gentry (@zacherygentry) / Twitter</a></p><h4><strong>DEMO — AirBnb Clone (Featured)</strong></h4><p><strong>Exploring with a four-fold methodology</strong></p><ol><li><strong>Create a new Flutter Project<br></strong><em>- Use any editors as per your choice. After creating the project, you can structure your project files and folders that suit you, with no constraint as such.</em></li><li><strong>New .dart file<br>- </strong><em>Add a .dart file which will help in keeping the code clean. This is the file where our ‘magic’ code goes in.</em></li><li><strong>Head over to Flutter UI<br>- </strong><em>There are various categories, select ‘AirBnb Clone’ under the ‘Full Apps’ section. Click on Copy Code and now we have a whole app on our clipboard (isn’t it fascinating)</em></li><li><strong>Paste and RUN<br></strong><em>- Paste the copied code in the new .dart file, place the widget named AirbnbClone() as per your requirement. (For most cases at ‘home’ of the MaterialApp.)</em></li></ol><h4><strong>Visual Demo</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*QpJv4pTqkrSllX76e5fC1g.png" /><figcaption>Creating a new Flutter Project</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/1*1CGQzufemwNeCNchtfP2Nw.png" /><figcaption>New .dart file</figcaption></figure><blockquote><em>NOTE- Use this resource wisely and make sure you have your concepts clear. Blind copy-pasting without understanding is foolishness.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VNUlK7w5sP3pRGx_qZ3ZDw.png" /><figcaption>Flutter UI Website</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BcL08_nfk-AcNKCfmQm00Q.png" /><figcaption>Code copied to clipboard</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cPea0ByLmeFlg3_ROVjm-g.png" /><figcaption>Pasting it in newly created .dart file</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E7WqJFdIl0Qiy9CKFb__vQ.png" /><figcaption>Replacing MyHomePage() with AirbnbClone()</figcaption></figure><h3>Zachery Gentry on Twitter: &quot;Flutter UI is now in early access! 🎉Save hours of development time by using prebuilt widgets.All with 0 dependencies; Just copy, paste, and it&#39;s in!Appreciate any retweets for awareness🙌 pic.twitter.com/B1qLGcpnaj / Twitter&quot;</h3><p>Flutter UI is now in early access! 🎉Save hours of development time by using prebuilt widgets.All with 0 dependencies; Just copy, paste, and it&#39;s in!Appreciate any retweets for awareness🙌 pic.twitter.com/B1qLGcpnaj</p><h4>Get Extra 15% off on your Early-Access Purchase</h4><blockquote>Use the coupon at checkout — <a href="https://flutterui.design/components">Flutter UI — Code Snippets for Flutter Apps</a><br>FLUTTER15</blockquote><h4>Resources</h4><p><a href="https://courses.codewithandrea.com/courses"><strong>Flutter &amp; Firebase: Build a Complete App for iOS &amp; Android</strong></a>— Course by <a href="https://medium.com/u/374ee4d0e153">Andrea Bizzotto</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*10RECXGTH5NyaeBg5yD1pw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*ihWYkyG5VckEVcORJu2gmw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=161dc1beb83a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Custom Swatch for Material App Theme — primarySwatch]]></title>
            <link>https://rohanjsh.medium.com/custom-swatch-for-material-app-theme-primaryswatch-ab871ddb57dc?source=rss-9d9ad93dfbb7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab871ddb57dc</guid>
            <category><![CDATA[material-design]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[crossplatform-mobile-app]]></category>
            <category><![CDATA[materialcolor]]></category>
            <category><![CDATA[dart]]></category>
            <dc:creator><![CDATA[Rohan Joshi]]></dc:creator>
            <pubDate>Mon, 19 Apr 2021 15:56:28 GMT</pubDate>
            <atom:updated>2021-04-26T16:06:58.443Z</atom:updated>
            <content:encoded><![CDATA[<h3>Custom Swatch for Material App Theme — primarySwatch</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/1*frz1WUn9CBgqiq6UO1TXUA.png" /><figcaption>Error Screen</figcaption></figure><p><strong><em>type ‘Color’ is not a subtype of type ‘MaterialColor?’, ever got this kind of error at runtime, most probably, defining the primarySwatch for your App.</em></strong></p><p>So let’s find out how to define a custom swatch which would work as expected.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d4d8b5b95c5893ffacccceaca6398a43/href">https://medium.com/media/d4d8b5b95c5893ffacccceaca6398a43/href</a></iframe><p><a href="https://api.flutter.dev/flutter/painting/ColorSwatch-class.html#:~:text=A%20color%20that%20has%20a,primary%20and%20accent%20color%20swatches.&amp;text=Colors%2C%20which%20defines%20all%20of%20the%20standard%20material%20design%20colors.">A color that has a small table of related colors called a “swatch”</a> — Dart Docs</p><p>To create our own small table we need some values to put it in, right. So where can we get them. People on the earth are just awesome, we have a tool <a href="https://maketintsandshades.com/"><em>Make Tints and Shades</em></a> to our rescue<em>.</em></p><figure><img alt="Make Tints and Shades" src="https://cdn-images-1.medium.com/max/609/1*EDLYAS5ggSDvVQl5O_TF-w.png" /><figcaption><strong>Make Tints and Shades Web Interface</strong></figcaption></figure><p>Get any color HEX code you want paste it in that box, and then click on ‘Make tints and Shade’ (Tip for future — Hover the shades to copy the code)</p><p>Create a new dart file for our new values’ home. I have named it ‘palette.dart’. (You guys can post your creative names in comments 😜)</p><p>From Dart Documentation</p><pre>const MaterialColor(</pre><pre><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a> primary,</pre><pre><a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a>&lt;<a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>, <a href="https://api.flutter.dev/flutter/dart-ui/Color-class.html">Color</a>&gt; swatch</pre><pre>)</pre><pre>//Creates a color swatch with a variety of shades.</pre><pre>//The primary argument should be the 32 bit ARGB value of one of the values in the swatch, as would be passed to the <a href="https://api.flutter.dev/flutter/dart-ui/Color/Color.html">new Color</a> constructor for that same color, and as is exposed by <a href="https://api.flutter.dev/flutter/dart-ui/Color/value.html">value</a>. (This is distinct from the specific index of the color in the swatch.)</pre><blockquote>To tap into the desired value, all you need to create is a Map. That is exactly what we have created below with defining a class Palette for better use and scalability in future.</blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a0f12149a4c411cf5028f04bf4d4f25d/href">https://medium.com/media/a0f12149a4c411cf5028f04bf4d4f25d/href</a></iframe><p>Now we just need to import our newly created dart file in main.dart for implementation.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a3d9595b35c3f38b791077da79837d10/href">https://medium.com/media/a3d9595b35c3f38b791077da79837d10/href</a></iframe><p>When we define a primarySwatch by ourselves, Theme itself takes some decision in defining colors for widgets like AppBar, FAB, etc. And that’s it, we have a very own customised primarySwatch defined.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*10RECXGTH5NyaeBg5yD1pw.png" /></figure><p>Thank for fluttering around.</p><p>Rohan Joshi</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab871ddb57dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>