<?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 Tahsin Büyükşahin on Medium]]></title>
        <description><![CDATA[Stories by Tahsin Büyükşahin on Medium]]></description>
        <link>https://medium.com/@tahsinbuyuksahin?source=rss-df1f4bdde93a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dL_CxXhn2DlhkTjtYD30dA.jpeg</url>
            <title>Stories by Tahsin Büyükşahin on Medium</title>
            <link>https://medium.com/@tahsinbuyuksahin?source=rss-df1f4bdde93a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 13:41:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tahsinbuyuksahin/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[How to enter phone number with Flutter (MaskedInputFormatter)]]></title>
            <link>https://medium.com/@tahsinbuyuksahin/how-to-enter-phone-number-with-flutter-maskedinputformatter-f3119ec7db4d?source=rss-df1f4bdde93a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3119ec7db4d</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[flutter-ui]]></category>
            <category><![CDATA[flutter-widget]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <dc:creator><![CDATA[Tahsin Büyükşahin]]></dc:creator>
            <pubDate>Wed, 29 Dec 2021 11:16:51 GMT</pubDate>
            <atom:updated>2021-12-29T11:46:00.046Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*-56UdBntZRqw9hOM73jV5g.gif" /></figure><p>When we want to log in to the country code of our country with a special phone number in Flutter, when we want to create a special design for our project and when we want to leave a space between the numbers, it will be enough to follow these steps. If you want, you can make any designs you want among the codes.</p><p>You can even make better improvements yourself.</p><p>I’m just sharing this post with you to give you a superficial idea of how you can do this.</p><p>Many features will solve your problem when you use a text form field widget in Flutter. You just have to look in the right place.</p><p>I wish you pleasant reading :)</p><p>If so, let’s get started.</p><p>The first step is to get your project up and running</p><p>and let’s start coding.</p><p>we add our library to pubspec.yaml.</p><p>flutter_multi_formatter: ^2.5.1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*IdopNaMj_6pGzO-hUZgTmA.png" /></figure><p>as the second step we go to our code blog</p><p>Let’s create our class in our file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*8t_spqZzYqtSYCdmWSSdkQ.png" /></figure><p>The code we wrote looks like this to determine the background of our TextformField.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/413/1*LMwcrnYuxG8H2Z-XJHeqTw.png" /></figure><p>Now let’s fill our container.</p><p>We add the png we want to our Assets folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*N3yyUujnG8jehqJOdmVWJQ.png" /></figure><p>Short description :<br>The reason I call the image and text widgets in suffixIcon and preffixIcon is because they are padded by default from the textformfiled widget. You can code these design parts as you wish.</p><p>This is the line of code that puts spaces between the phone number in the MaskedInputFormatter property of the input formatatter property.</p><p>And if you want, you can set a character limit too!</p><p>That is all!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/411/1*zakWPcqJ-oukVZ1HRRWNmg.png" /></figure><p>After that, it’s up to your creativity and design knowledge. You can edit your codes as you wish.</p><p>Extra information</p><p>Let’s add some visuality to our application.</p><p>You can beautify the UI image using the lottie library.</p><p>we add our library to pubspec.yaml.<br>lottie: ^1.2.1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*R3FHilEOMcTgpa5BLAxjxA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*4eOTGsib4399EN8t-H2VEQ.png" /></figure><p>Lottie Usage :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*3ecw_zS-SCovafaqfRQjCw.png" /></figure><p>and result !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*zGCGExV53sbuwKvIOwR7tw.gif" /></figure><p>Flutter</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3119ec7db4d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>