<?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 Raviteja Nomula on Medium]]></title>
        <description><![CDATA[Stories by Raviteja Nomula on Medium]]></description>
        <link>https://medium.com/@ravitejanomula?source=rss-d2bec4c2125a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*py3KzDr6odit_Ml7wyUhrQ.jpeg</url>
            <title>Stories by Raviteja Nomula on Medium</title>
            <link>https://medium.com/@ravitejanomula?source=rss-d2bec4c2125a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 15:27:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ravitejanomula/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[Flutter LinkedIn login]]></title>
            <link>https://medium.com/dev-tutorials/flutter-linkedin-login-29f134d8ba77?source=rss-d2bec4c2125a------2</link>
            <guid isPermaLink="false">https://medium.com/p/29f134d8ba77</guid>
            <category><![CDATA[sign-in]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[linkedin]]></category>
            <dc:creator><![CDATA[Raviteja Nomula]]></dc:creator>
            <pubDate>Sat, 28 Nov 2020 20:49:20 GMT</pubDate>
            <atom:updated>2020-11-28T20:57:15.964Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Flutter LinkedIn login" src="https://cdn-images-1.medium.com/max/1024/1*TkNh1il9d0o1RM87ct-npg.jpeg" /></figure><p>A Flutter plugin for allowing users to authenticate with LinkedIn and getting the user’s basic profile</p><h3>Contents</h3><ul><li><a href="#6d8c"><strong>Plugin Supported Platforms</strong></a></li><li><a href="#2f9b"><strong>Create app</strong></a></li><li><a href="#608c"><strong>Installation</strong></a></li><li><a href="#b688"><strong>Import</strong></a></li><li><a href="#79be"><strong>Usage</strong></a><br><strong>1. </strong><a href="#dff8"><strong>Button widget</strong></a><strong><br>2. </strong><a href="#b0b1"><strong>LinkedIn user widget</strong></a></li><li><a href="#8c9a"><strong>Profile Picture</strong></a></li><li><a href="#fdb1"><strong>Final Result</strong></a></li><li><a href="#0787"><strong>Full Code</strong></a></li><li><a href="#1c85"><strong>Plugin</strong></a></li><li><a href="#bd17"><strong>Similar Plugin</strong></a></li></ul><h4><strong>Plugin Supported Platforms</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ukF8h_toslA70KILZHdcuQ.png" /></figure><h4>Create app</h4><figure><img alt="Linkedin app creation form" src="https://cdn-images-1.medium.com/max/1024/1*A3awCIlSH_q2pjhQfZAfqA.png" /></figure><p>Create an app on the LinkedIn developer page, and copy <strong>client_id, client_secret, </strong>and<strong> redirect_url </strong>to<strong> </strong>your project</p><p><a href="https://www.linkedin.com/developers/">Developers | Linkedin</a></p><h4>Installation</h4><pre>dependencies:<br>  linkedin_login: ^1.3.1</pre><h4>Import</h4><pre>import &#39;package:linkedin_login/linkedin_login.dart&#39;;</pre><h4>Usage</h4><ul><li><strong>Button widget</strong></li></ul><p>This package has a LinkedIn button widget, and you can customize the button color, button text, and icon sizing properties.</p><pre>LinkedInButtonStandardWidget<em>(<br>  </em>onTap: linkedInLogin<br><em>)</em></pre><p><strong>Example</strong></p><figure><img alt="Button widget" src="https://cdn-images-1.medium.com/max/1024/1*kNc2ckNsyxSxSdeDpg0L6Q.png" /></figure><ul><li><strong>LinkedIn user widget</strong></li></ul><p>LinkedIn User widget handles everything user logging in and error callbacks.</p><pre>Navigator.<em>push(<br>  </em>context,<br>  MaterialPageRoute<em>(<br>    </em>builder: <em>(</em>BuildContext context<em>) </em>=&gt;<br>      LinkedInUserWidget<em>(<br>        </em>appBar: AppBar<em>(<br>          </em>title: Text<em>(</em>widget.title<em>)</em>,<br>        <em>)</em>,<br>        redirectUrl: redirectUrl,<br>        clientId: clientId,<br>        clientSecret: clientSecret,<br>        onGetUserProfile: <em>(</em>LinkedInUserModel linkedInUser<em>) </em>async<em>{<br> </em><br>          Map<em>&lt;</em>String, dynamic<em>&gt; </em>postJson = <em>{<br>            </em>&quot;user_id&quot;: linkedInUser.userId,<br>            &quot;email&quot;: linkedInUser.email.elements<em>[</em>0<em>]</em>.handleDeep.emailAddress,<br>            &quot;pic_url&quot;: profilePic,<br>            &quot;name&quot;: linkedInUser.firstName.localized.label + &#39; &#39; + linkedInUser.lastName.localized.label,<br>            &quot;token&quot;: linkedInUser.token.accessToken,<br>            &quot;expires_in&quot;: linkedInUser.token.expiresIn<br>          <em>}</em>;<br>          setState<em>(() {<br>            </em>result = postJson;<br>          <em>})</em>;<br>          Navigator.<em>of(</em>context<em>)</em>.pop<em>()</em>;<br>        <em>}</em>,<br>        catchError: <em>(</em>LinkedInErrorObject error<em>) {<br>          </em>print<em>(</em>&#39;Error description: <em>${</em>error.description<em>}</em> Error code: <em>${</em>error.statusCode.toString<em>()}</em>&#39;<em>)</em>;<br>        <em>}</em>,<br>      <em>)</em>,<br>    fullscreenDialog: true,<br>  <em>)</em>,<br><em>)</em>;</pre><p>After executing this you will redirect to the LinkedIn login page. Once the user logins it asks user permission to share a basic profile like this</p><figure><img alt="Seeking user permission" src="https://cdn-images-1.medium.com/max/1024/1*ip0KZ4PvJMuhXLScd6CWNg.png" /></figure><p>On allow, you will get these details from LinkedIn.</p><pre>  String firstName;<br>  String lastName;<br>  String accessToken;<br>  int expiresIn;<br>  String profilePicture; /// profile picture is not getting<br>  String email;<br>  String userId;</pre><h4>Profile Picture</h4><p>From the plugin, the profile picture is not getting. For this, we need to make<br>OAuth 2.0 API call using an access token.</p><pre>Response response = await dio.get<em>(<br>    </em>&quot;https://api.linkedin.com/v2/me?projection=(profilePicture(displayImage~:playableStreams))&quot;,<br>    options: Options<em>(<br>        </em>responseType: ResponseType.json,<br>        sendTimeout: 60000,<br>        receiveTimeout: 60000,<br>        headers: <em>{<br>          </em>HttpHeaders.<em>authorizationHeader</em>: &quot;Bearer <em>${</em>linkedInUser.token.accessToken<em>}</em>&quot;<br>        <em>}<br>    )<br>)</em>;</pre><p>From the API result having multiple resolution profile picture URLs. Choose your best once.</p><pre>var profilePic = response.data<em>[</em>&quot;profilePicture&quot;<em>][</em>&quot;displayImage~&quot;<em>][</em>&quot;elements&quot;<em>][</em>0<em>][</em>&quot;identifiers&quot;<em>][</em>0<em>][</em>&quot;identifier&quot;<em>]</em>;</pre><h4>Final Result</h4><figure><img alt="Full result of login" src="https://cdn-images-1.medium.com/max/1024/1*983c4B228DDl1jOQNJ67Cg.png" /></figure><h4>Full Code</h4><p>You can check out the full example</p><p><a href="https://github.com/bloggerraviteja/flutter_linked_in_login_example">bloggerraviteja/flutter_linked_in_login_example</a></p><h4>Plugin</h4><p><a href="https://pub.dev/packages/linkedin_login">linkedin_login | Flutter Package</a></p><h4>Similar Plugins</h4><ul><li><a href="https://pub.dev/packages/flutter_linkedin">flutter_linkedin | Flutter Package</a></li><li><a href="https://pub.dev/packages/flutter_linkedin_login">flutter_linkedin_login | Flutter Package</a></li></ul><p>Other plugins have some issues and I didn’t have good experiences. Try your self check them out.</p><p><a href="https://pub.dev/packages/linkedin_auth">linkedin_auth | Flutter Package</a></p><p>Let me know your feedback in response.<br>If you want other plugins tutorials let me know in the comments. I’ll try to make it.</p><p>Don’t forget to clap and follow me in the medium for more tutorials.</p><p>Buy me a <a href="https://www.paypal.com/paypalme/ravitejablogger">coffee</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29f134d8ba77" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dev-tutorials/flutter-linkedin-login-29f134d8ba77">Flutter LinkedIn login</a> was originally published in <a href="https://medium.com/dev-tutorials">Pro Dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter http package]]></title>
            <link>https://medium.com/dev-tutorials/flutter-http-package-690521a27f6f?source=rss-d2bec4c2125a------2</link>
            <guid isPermaLink="false">https://medium.com/p/690521a27f6f</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[http-request]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[rest-api]]></category>
            <dc:creator><![CDATA[Raviteja Nomula]]></dc:creator>
            <pubDate>Sun, 01 Nov 2020 11:01:46 GMT</pubDate>
            <atom:updated>2020-11-01T11:01:46.141Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MEuNSOuyoI5SlzJNs-ioeA.jpeg" /></figure><p>The easiest way to make Network calls.</p><h3>Contents</h3><ul><li><a href="#493f">Installation</a></li><li><a href="#aecd">Import</a></li><li><a href="#3ce4">Usage</a></li><li><a href="#87a7">Http methods</a><br>1. <a href="#89b8">Get</a><br>2. <a href="#c14d">Post</a><br>3. <a href="#4bfa">Form</a><br>4. <a href="#404f">Put</a><br>5. <a href="#427b">Patch</a><br>6. <a href="#e960">Delete</a></li><li><a href="#e078">Extras</a></li><li><a href="#6840">Code</a></li><li><a href="#716d">Plugin</a></li><li><a href="#c53f">Similar plugin</a></li></ul><h4>Installation</h4><p><a href="https://pub.dev/packages/http">http | Dart package</a></p><pre>dependencies:<br>  http: ^0.12.2</pre><h4>Import</h4><pre>import &#39;package:http/http.dart&#39; as http;</pre><h4>Usage</h4><p>For this example I created variable to store url prefix, status_code and data variables to show result in the screen. Here I used dummy API calls to demonstrate the package and also used “<strong>flutter_json_widget</strong>” package for to make the tutorial very easy and clean.</p><pre>dynamic _data;<br>int statusCode = 0;<br>final String url = &#39;https://jsonplaceholder.typicode.com&#39;;</pre><p>Created 6 buttons for every HTTP method.<br>Example:</p><pre>RaisedButton<em>(</em>onPressed: get, child: Text<em>(</em>&quot;Get&quot;<em>))</em>,</pre><h4>Http Methods</h4><p>Let’s discuss about HTTP methods and examples.</p><ul><li><strong>Get Request</strong></li></ul><pre>var response = await http.get<em>(<br>  </em>url + &quot;/posts/1&quot;,<br>  headers: <em>{<br>    </em>&quot;Content-Type&quot;: &quot;application/json&quot;,<br>    &quot;Accept&quot;: &quot;application/json&quot;<br>  <em>}</em>,<br><em>)</em>.timeout<em>(</em>Duration<em>(</em>seconds: 60<em>)) <br></em>.catchError<em>((</em>error<em>) {<br>  /// NEED TO IMPLEMENT: Do what you want to show in the screen<br>})</em>;</pre><p><strong>Result:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4creQAzwOhLT72CYN9ZJQA.png" /></figure><ul><li><strong>Post Request</strong></li></ul><pre><em>/// This json going to post<br></em>Map<em>&lt;</em>String, dynamic<em>&gt; </em>postJson = <em>{<br>  </em>&quot;title&quot;: &#39;foo&#39;,<br>  &quot;body&quot;: &#39;bar&#39;,<br>  &quot;userId&quot;: 1,<br><em>}</em>;<br><br><em>/// Sending http post request<br></em>var response = await http.post<em>(<br>  </em>url + &quot;/posts&quot;,<br>  headers: <em>{<br>    </em>&quot;Content-Type&quot;: &quot;application/json&quot;,<br>    &quot;Accept&quot;: &quot;application/json&quot;<br>  <em>}</em>,<br>  body: json.encode<em>(</em>postJson<em>) /// Convert json to string<br>)</em>.timeout<em>(</em>Duration<em>(</em>seconds: 60<em>)) <br></em>.catchError<em>((</em>error<em>) { <br>  /// NEED TO IMPLEMENT: Do what you want to show in the screen<br>})</em>;</pre><p><strong>Result:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LOpUIg_w30pl1lrfBwpN1Q.png" /></figure><ul><li><strong>Form Request</strong></li></ul><p>In MultipartRequest requires uri and also it’s bit different from other request types.<br><strong><em>Note:</em></strong> Http form request only accepts files and String type values</p><pre><em>/// This json going to post<br></em>Map<em>&lt;</em>String, String<em>&gt; </em>postJson = <em>{<br>  </em>&quot;title&quot;: &#39;foo&#39;,<br>  &quot;body&quot;: &#39;bar&#39;<br><em>}</em>;<br><br><em>/// converting url to uri<br></em>var uri = Uri.<em>parse(</em>&quot;https://postman-echo.com/post&quot;<em>)</em>;<br><br><em>/// creating http form request<br></em>var request = http.MultipartRequest<em>(<br>  </em>&#39;POST&#39;,<br>  uri,<br><em>)</em>..fields.addAll<em>(</em>postJson<em>)</em>;<em><br><br>/// sending http form request<br></em>var response = await request.send<em>()<br>    </em>.timeout<em>(</em>Duration<em>(</em>seconds: 60<em>)) <br>    </em>.catchError<em>((</em>error<em>) { <br>      /// NEED TO IMPLEMENT: Do what you want to show in the screen<br>    });</em></pre><blockquote>You can add files like this</blockquote><blockquote>..files.add(<strong>await</strong> http.MultipartFile.fromPath(<br> &#39;package&#39;, &#39;build/package.tar.gz&#39;,<br> contentType: MediaType(&#39;application&#39;, &#39;x-tar&#39;)));</blockquote><p><strong>Result:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nzKK1HXN3QonA0vb0odESQ.png" /></figure><ul><li><strong>Put Request</strong></li></ul><pre><em>/// This json going to post<br></em>Map<em>&lt;</em>String, dynamic<em>&gt; </em>postJson = <em>{<br>  </em>&quot;id&quot;: 1,<br>  &quot;title&quot;: &#39;foo&#39;,<br>  &quot;body&quot;: &#39;bar&#39;,<br>  &quot;userId&quot;: 1,<br><em>}</em>;<br><br><em>/// sending http put request<br></em>var response = await http.put<em>(<br>  </em>url + &quot;/posts/1&quot;,<br>  headers: <em>{<br>    </em>&quot;Content-Type&quot;: &quot;application/json&quot;,<br>    &quot;Accept&quot;: &quot;application/json&quot;<br>  <em>}</em>,<br>  body: json.encode<em>(</em>postJson<em>) /// Convert json to string<br>)</em>.timeout<em>(</em>Duration<em>(</em>seconds: 60<em>))<br></em>.catchError<em>((</em>error<em>) {<br>  /// NEED TO IMPLEMENT: Do what you want to show in the screen<br>})</em>;</pre><p><strong>Result:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qq5ClJEx241-P0UV17BgDA.png" /></figure><ul><li><strong>Patch Request</strong></li></ul><pre><em>/// This json going to post<br></em>Map<em>&lt;</em>String, dynamic<em>&gt; </em>postJson = <em>{<br>  </em>&quot;title&quot;: &#39;foo&#39;,<br><em>}</em>;<br><br><em>/// sending http patch request<br></em>var response = await http.patch<em>(<br>  </em>url + &quot;/posts/1&quot;,<br>  headers: <em>{<br>    </em>&quot;Content-Type&quot;: &quot;application/json&quot;,<br>    &quot;Accept&quot;: &quot;application/json&quot;<br>  <em>}</em>,<br>  body: json.encode<em>(</em>postJson<em>) /// Convert json to string<br>)</em>.timeout<em>(</em>Duration<em>(</em>seconds: 60<em>))<br></em>.catchError<em>((</em>error<em>) {<br>  /// NEED TO IMPLEMENT: Do what you want to show in the screen<br>})</em>;</pre><p><strong>Result:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CnBmPZHXKURjJ8UNZZ6HuQ.png" /></figure><ul><li><strong>Delete Request</strong></li></ul><pre><em>/// sending http delete request<br></em>var response = await http.delete<em>(</em>url + &quot;/posts/1&quot;<em>)<br>    </em>.timeout<em>(</em>Duration<em>(</em>seconds: 60<em>))<br>    </em>.catchError<em>((</em>error<em>) {<br>      /// NEED TO IMPLEMENT: Do what you want to show in the screen<br>    })</em>;</pre><p><strong>Result:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KYM1aHn-hhdUfZEAsZb3PA.png" /></figure><h4><strong>Extras</strong></h4><p>Above example I used custom timeout 60 seconds for my request. If you want to add custom timeout this is the example.</p><pre>var response = await http.delete<em>(</em>url + &quot;/posts/1&quot;<em>)<br>    </em>.timeout<em>(</em>Duration<em>(</em>seconds: 60<em>))<br>    </em>.catchError<em>((</em>error<em>) {<br>      /// NEED TO IMPLEMENT: Do what you want to show in the screen<br>    })</em>;</pre><p>When the request processing exceeds 60 seconds. It generates timeout error and caught by “<strong>catchError</strong>” and<strong> </strong>also it catches HTTP statuscode errors like 403, 404 etc,</p><p>If you need more HTTP status codes <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status">click here</a></p><p><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status">HTTP response status codes - HTTP | MDN</a></p><h4><strong>Code</strong></h4><p>Complete source code available on my github feel free to checkout.</p><p><a href="https://github.com/bloggerraviteja/flutter_http">bloggerraviteja/flutter_http</a></p><h4><strong>Plugin</strong></h4><p><a href="https://pub.dev/packages/http">http | Dart package</a></p><h4><strong>Similar plugins</strong></h4><p>My favorite plugin</p><p><a href="https://pub.dev/packages/dio">dio | Dart package</a></p><p>Who are comes from android native this will be used</p><p><a href="https://pub.dev/packages/retrofit">retrofit | Dart package</a></p><p>Which plugin you are using in your project let me know in the responses. If you are begginer tell me is this article helps you or not.</p><p>Don’t forget to clap and follow me in the medium for more quality tutorials.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=690521a27f6f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dev-tutorials/flutter-http-package-690521a27f6f">Flutter http package</a> was originally published in <a href="https://medium.com/dev-tutorials">Pro Dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter tutorial_coach_mark package]]></title>
            <link>https://medium.com/dev-tutorials/flutter-tutorial-coach-mark-package-9f593c2725f?source=rss-d2bec4c2125a------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f593c2725f</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[tooltips]]></category>
            <category><![CDATA[tutorialcoachmark]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Raviteja Nomula]]></dc:creator>
            <pubDate>Sun, 11 Oct 2020 11:29:57 GMT</pubDate>
            <atom:updated>2021-02-06T13:57:15.860Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="flutter_tutorial_coach_mark thumbnail" src="https://cdn-images-1.medium.com/max/1024/1*-cc2c_b_8J5siqJylXflgg.png" /></figure><p>This guide helps you to present your app and its features in a beautiful, simple, and customizable way.</p><h3>Contents</h3><ul><li><a href="#900f">Installation</a></li><li><a href="#8600">Import</a></li><li><a href="#a007">Create Variables</a></li><li><a href="#ee8d">Init State</a></li><li><a href="#4aa1">Create Presentations</a><br>1. <a href="#8424">Circle presentation</a><br>2. <a href="#fc2f">Rectangle presentation</a><br>3. <a href="#710a">Circle with right content presentation</a><br>4. <a href="#d865">Multiple content presentation</a></li><li><a href="#c651">After Layout method</a></li><li><a href="#b216">Show Presentation</a></li><li><a href="#2f19">Using Keys in Ui</a></li><li><a href="#de67">Full Code</a></li><li><a href="#5680">Plugin</a></li><li><a href="#2e3c">Similar plugins</a></li></ul><figure><img alt="example" src="https://cdn-images-1.medium.com/max/1024/1*tdAIRCdGJLmzl3Hp1SfjQw.gif" /></figure><h4>Installation</h4><p><a href="https://pub.dev/packages/tutorial_coach_mark/install">tutorial_coach_mark | Flutter Package</a></p><pre>dependencies:<br>  tutorial_coach_mark: ^0.5.1</pre><h4>Import</h4><pre>import &#39;package:tutorial_coach_mark/tutorial_coach_mark.dart&#39;;</pre><h4>Create Variables</h4><p>First, create TutorialCoachMark and global keys</p><pre>TutorialCoachMark tutorialCoachMark;<br><br>List<em>&lt;</em>TargetFocus<em>&gt; </em>targets = List<em>()</em>;<br><br>GlobalKey keyButton = GlobalKey<em>()</em>;<br>GlobalKey keyButton1 = GlobalKey<em>()</em>;<br>GlobalKey keyButton2 = GlobalKey<em>()</em>;<br>GlobalKey keyButton3 = GlobalKey<em>()</em>;<br>GlobalKey keyButton4 = GlobalKey<em>()</em>;</pre><h4>Init State</h4><blockquote>Add this in instate to show presentation</blockquote><blockquote>WidgetsBinding.instance.addPostFrameCallback(_afterLayout);</blockquote><blockquote>Which executes a function only one time after the layout is completed.</blockquote><pre>@override<br>void initState<em>() {<br>  </em>WidgetsBinding.<em>instance</em>.addPostFrameCallback<em>(</em>_afterLayout<em>)</em>;<br>  super.initState<em>()</em>;<br><em>}</em></pre><h4>Create Presentations</h4><p>We can create different types of presentations.<br>Some of them are</p><ul><li>Circle presentation</li></ul><figure><img alt="circle presentation" src="https://cdn-images-1.medium.com/max/1024/1*2ciX1tnNGf71iOE0Se07eA.png" /></figure><pre>TargetFocus<em>(<br>  </em>identify: &quot;Target 1&quot;,<br>  keyTarget: keyButton,<br>  shape: ShapeLightFocus.Circle,<br>  contents: <em>[<br>    </em>ContentTarget<em>(<br>      </em>align: AlignContent.bottom,<br>      child: Column<em>(<br>        </em>children: <em>&lt;</em>Widget<em>&gt;[<br>          </em>&quot;Services&quot;.text.size<em>(</em>20<em>)</em>.white.make<em>()</em>,<br>          16.heightBox,<br>          &quot;Select service type to filter saloon&quot;.text.white.make<em>()<br>        ]</em>,<br>      <em>)<br>    )<br>  ]<br>)</em></pre><ul><li>Rectangle Presentation</li></ul><figure><img alt="rectangle presentation" src="https://cdn-images-1.medium.com/max/1024/1*nwRngAnMT__7AqeVuGbcSw.png" /></figure><pre>TargetFocus<em>(<br>  </em>identify: &quot;Target 2&quot;,<br>  keyTarget: keyButton1,<br>  shape: ShapeLightFocus.RRect,<br>  contents: <em>[<br>    </em>ContentTarget<em>(<br>      </em>align: AlignContent.bottom,<br>      child: Column<em>(<br>        </em>crossAxisAlignment: CrossAxisAlignment.start,<br>        children: <em>&lt;</em>Widget<em>&gt;[<br>          </em>Icon<em>(</em>Icons.<em>star</em>, color: AppColors.<em>ratingColor</em>, size: 30<em>)</em>,<br>          8.heightBox,<br>          &quot;Rating&quot;.text.size<em>(</em>20<em>)</em>.white.make<em>()</em>,<br>          16.heightBox,<br>          &quot;Tap and drag to set rating filter&quot;.text.white.make<em>()<br>        ]</em>,<br>      <em>)<br>    )<br>  ]<br>)</em></pre><ul><li>Circle with right content presentation</li></ul><figure><img alt="circle with right content presentation" src="https://cdn-images-1.medium.com/max/1024/1*3bDlzx9rDxTNODk4tnDhXg.png" /></figure><pre>TargetFocus<em>(<br>  </em>identify: &quot;Target 3&quot;,<br>  keyTarget: keyButton2,<br>  shape: ShapeLightFocus.Circle,<br>  contents: <em>[<br>    </em>ContentTarget<em>(<br>      </em>align: AlignContent.right,<br>      child: Column<em>(<br>        </em>children: <em>&lt;</em>Widget<em>&gt;[<br>          </em>Icon<em>(</em>LineIcons.<em>user_alt_solid</em>, color: AppColors.<em>linkColor</em>, size: 50<em>)</em>,<br>          8.heightBox,<br>          &quot;Gender&quot;.text.size<em>(</em>20<em>)</em>.white.make<em>()</em>,<br>          16.heightBox,<br>          &quot;Select gender to filter salon&quot;.text.white.make<em>()<br>        ]</em>,<br>      <em>)<br>    )<br>  ]<br>)</em></pre><ul><li>Multiple Content Presentation</li></ul><figure><img alt="multiple conetent presentation" src="https://cdn-images-1.medium.com/max/1024/1*qSpeyD66CYHELAkkgcUjwQ.png" /></figure><pre>TargetFocus<em>(<br>  </em>identify: &quot;Target 4&quot;,<br>  keyTarget: keyButton3,<br>  shape: ShapeLightFocus.RRect,<br>  contents: <em>[<br>    </em>ContentTarget<em>(<br>      </em>align: AlignContent.top,<br>      child: Column<em>(<br>        </em>children: <em>&lt;</em>Widget<em>&gt;[<br>          </em>Icon<em>(</em>LineIcons.<em>map_marker_alt_solid</em>, color: AppColors.<em>linkColor</em>, size: 30<em>)</em>,<br>          8.heightBox,<br>          &quot;Distance&quot;.text.size<em>(</em>20<em>)</em>.white.make<em>()</em>,<br>          16.heightBox,<br>          &quot;Set minimum distance to filter salon nearby&quot;.text.white.make<em>()<br>        ]</em>,<br>      <em>)<br>    )</em>,<br>    ContentTarget<em>(<br>      </em>align: AlignContent.bottom,<br>      child: Column<em>(<br>        </em>children: <em>&lt;</em>Widget<em>&gt;[<br>          </em>&quot;Set Maximum distance to filter salon nearby&quot;.text.white.make<em>()<br>        ]</em>,<br>      <em>)<br>    )<br>  ]<br>)</em></pre><h4>After Layout</h4><p>This method will call once the UI rendered the last frame of the screen.</p><pre>void _afterLayout<em>(</em>_<em>) {<br>  </em>Future.delayed<em>(</em>Duration<em>(</em>milliseconds: 100<em>)</em>, <em>() {<br>    </em>showTutorial<em>()</em>;<br>  <em>})</em>;<br><em>}</em></pre><h4>Show Presentation</h4><p>This will show your presentation</p><pre>tutorialCoachMark = TutorialCoachMark<em>(</em>context,<br>  targets: targets,<br>  colorShadow: Colors.<em>black</em>,<br>  textSkip: &quot;SKIP&quot;,<br>  paddingFocus: 10,<br>  opacityShadow: 0.8, onFinish: <em>() {<br>    </em>print<em>(</em>&quot;finish&quot;<em>)</em>;<br>  <em>}</em>, onClickTarget: <em>(</em>target<em>) {<br>    </em>print<em>(</em>target<em>)</em>;<br>  <em>}</em>, onClickSkip: <em>() {<br>    </em>print<em>(</em>&quot;skip&quot;<em>)</em>;<br>  <em>}<br>)</em>..show<em>()</em>;</pre><h4>Use Keys in Ui</h4><p>Use created keys in the UI widgets the rest package will take care of.</p><pre>Wrap<em>(<br>  </em>key: keyButton,<br>  .......<br><em>)</em>,</pre><h4>Full Code</h4><p>You can check out the full example</p><p><a href="https://github.com/bloggerraviteja/flutter_tutorial_coach_mark">bloggerraviteja/flutter_tutorial_coach_mark</a></p><p>Plugin</p><p><a href="https://pub.dev/packages/tutorial_coach_mark">tutorial_coach_mark | Flutter package</a></p><h4>Similar plugins</h4><ul><li><a href="https://pub.dev/packages/highlighter_coachmark">highlighter_coachmark | Flutter Package</a></li><li><a href="https://pub.dev/packages/showcaseview">showcaseview | Flutter package</a></li><li><a href="https://pub.dev/packages/flutter_intro">flutter_intro | Flutter Package</a></li></ul><p>Let me know your feedback in response.<br>If you want other plugins tutorials let me know in the comments. I’ll try to make it.</p><p>Don’t forget to clap and follow me in the medium for more tutorials</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f593c2725f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dev-tutorials/flutter-tutorial-coach-mark-package-9f593c2725f">Flutter tutorial_coach_mark package</a> was originally published in <a href="https://medium.com/dev-tutorials">Pro Dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android Google or Facebook sign in not working in release mode]]></title>
            <link>https://medium.com/dev-tutorials/android-google-or-facebook-sign-in-not-working-in-release-mode-5a2efff86de3?source=rss-d2bec4c2125a------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a2efff86de3</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[firebaseauthentication]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[google-sign-in]]></category>
            <category><![CDATA[facebook-sign-in]]></category>
            <dc:creator><![CDATA[Raviteja Nomula]]></dc:creator>
            <pubDate>Fri, 02 Oct 2020 17:06:34 GMT</pubDate>
            <atom:updated>2020-10-10T13:40:32.477Z</atom:updated>
            <content:encoded><![CDATA[<p>Here’s a quick overview<br>1. Release mode<br>2. Playstore Mode</p><h3>Release Mode</h3><p>First Sign your app by following these steps <a href="https://developer.android.com/studio/publish/app-signing">here</a><br>For Flutter <a href="https://flutter.dev/docs/deployment/android">here</a></p><blockquote>run ./gradlew signingReport</blockquote><p><strong>output</strong><br>&gt; Task :app:signingReport<br>Variant: debug<br>Config: debug<br>Store: ~/.android/debug.keystore<br>Alias: AndroidDebugKey<br>MD5: A5:88:41:04:8D:06:71:6D:FE:33:76:87:AC:AD:19:23<br>SHA1: A7:89:E5:05:C8:17:A1:22:EA:90:6E:A6:EA:A3:D4:8B:3A:30:AB:18<br>SHA-256: 05:A2:2C:35:EE:F2:51:23:72:4D:72:67:A5:6C:8C:58:22:2A:00:D6:DB:F6:45:D5:C1:82:D2:80:A4:69:A8:FE<br>Valid until: Wednesday, August 10, 2044</p><p>You can see the release config same as the debug config</p><p>Copy SHA-1 key and add in firebase project settings</p><figure><img alt="Firebase settings image" src="https://cdn-images-1.medium.com/max/1024/1*3wm0NT_sEo7r-SQWnRAGnQ.png" /></figure><p><strong>For</strong> <strong>Facebook</strong></p><p>Convert your SHA-1 to base 64. Use this site to convert <a href="http://tomeko.net/online_tools/hex_to_base64.php">here</a><br>Add in Facebook app</p><h3>Playstore Mode</h3><p>After publishing your app in playstore<br>you need to do the same steps in release mode by using the playstore signing config. You will find your app signing config under the “App signing” option</p><p>you all set to go……</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a2efff86de3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dev-tutorials/android-google-or-facebook-sign-in-not-working-in-release-mode-5a2efff86de3">Android Google or Facebook sign in not working in release mode</a> was originally published in <a href="https://medium.com/dev-tutorials">Pro Dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>