<?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 Aponk on Medium]]></title>
        <description><![CDATA[Stories by Aponk on Medium]]></description>
        <link>https://medium.com/@aponk20?source=rss-90b183531df5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*LyUWL8h6du5Uu8jl</url>
            <title>Stories by Aponk on Medium</title>
            <link>https://medium.com/@aponk20?source=rss-90b183531df5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 15:04:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aponk20/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 Improve Your Flutter App Using the “stepper_a” Package.]]></title>
            <link>https://medium.com/@aponk20/how-to-improve-your-flutter-app-using-the-stepper-a-package-9bfdd6e45a1d?source=rss-90b183531df5------2</link>
            <guid isPermaLink="false">https://medium.com/p/9bfdd6e45a1d</guid>
            <category><![CDATA[stepper]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[package]]></category>
            <category><![CDATA[aerobic-stepper-set]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Aponk]]></dc:creator>
            <pubDate>Mon, 17 Apr 2023 15:18:22 GMT</pubDate>
            <atom:updated>2023-04-17T15:18:22.270Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Stepper_a example" src="https://cdn-images-1.medium.com/max/370/1*bGDceaMmjU5NV0Oy6RZVWA.gif" /></figure><h4>What is the “stepper_a” package?</h4><p>Create a stepper in your Flutter app with the straightforward and adaptable “stepper_a” widget. A stepper is a component of a user interface that enables users to proceed step-by-step through a process, frequently filling out a form or finishing a series of activities. Steppers are frequently used in e-commerce applications, registration forms, and other user processes.</p><p>A customisable stepper that is simple to incorporate into your Flutter project is offered by the “stepper_a” package. The stepper’s color, size, and number of steps may all be changed. Along with the text and colors of the labels for the steps’ border, shape, and line, you can also change the icons used for each stage.</p><h4>What does the “stepper_a” package offer?</h4><ul><li><em>Form Validation with FormKey [GlobalKey].</em></li><li><em>Support Horizontal and Vertical Stepper.</em></li><li><em>Customized Stepper step Shape [Rectangle, Circle,Diamond,Triangle].</em></li><li><em>Customized Stepper step border [Dash, Straight].</em></li><li><em>Customized Stepper line [Dash, Straight].</em></li><li><em>Smooth sliding with Animation.</em></li><li><em>Easily Customize Step.</em></li><li><em>“stepper_a” maintain his state Internally . Do’t need setState() method.<br>You can also use StatelessWidget class.</em></li></ul><h4>Getting Started with “stepper_a” :</h4><p>To use “stepper_a” in your Flutter app, you first need to add it to your pubspec.yaml file. You can do this by adding the following line under the dependencies section:</p><pre>dependencies:<br> stepper_a: ^1.1.2</pre><p>After adding “stepper_a” to your dependencies, you need to run flutter pub get to download and install the package. Once you have installed the package, you can start using it in your app.</p><p>With “stepper_a”, making a stepper is simple. The “stepper_a” package must first be imported into your file:</p><pre>import &#39;package:stepper_a/stepper_a.dart&#39;;</pre><h4>Code Implement:</h4><p>Create a new dart file called stepper_a_demo.dart inside the lib folder.</p><pre>StepperA(<br>  stepperSize: const Size(300, 90),<br>  borderShape: BorderShape.rRect,<br>  borderType: BorderType.straight,<br>  stepperAxis: Axis.horizontal,<br>  lineType:  LineType.dotted ,<br>  stepperBackgroundColor: Colors.transparent,<br>  stepperAController: controller,<br>  stepHeight: 40,<br>  stepWidth: 40,<br>  stepBorder: true,<br>  floatingButton: false,<br>  formKey: formKey,<br>  previousButton: StepperAButton(<br>      width: 90,<br>      height: 40,<br>      buttonText: &#39;Back&#39;,<br>      completeButtonText: &#39;&#39;),<br>  forwardButton: StepperAButton(<br>      width: 90,<br>      height: 40,<br>      buttonText: &#39;Next&#39;,<br>      completeButtonText: &#39;Complete&#39;),<br>  customSteps: const [<br>    CustomSteps(stepsIcon: Icons.login, title: &quot;LogIn&quot;),<br>    CustomSteps(stepsIcon: Icons.location_on, title: &quot;Location&quot;),<br>    CustomSteps(stepsIcon: Icons.home, title: &quot;Home&quot;),<br>    CustomSteps(stepsIcon: Icons.account_circle, title: &quot;Account&quot;),<br>  ],<br>  step: const StepA(<br>      currentStepColor: Colors.green,<br>      completeStepColor: Colors.indigo,<br>      inactiveStepColor: Colors.black12,<br>      margin: EdgeInsets.all(5)),<br>  stepperBodyWidget: [<br>    StepOne(controller: controller),<br>    StepTwo(<br>      controller: controller,<br>    ),<br>    StepThree(<br>      controller: controller,<br>    ),<br>    StepFour(<br>      controller: controller,<br>    ),<br>  ]<br>)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*81tdjuccM_waBsfzLEdxPA.png" /></figure><h4>If you want to put button click control in your step class then use “StepperAController” .</h4><p>For next step:</p><pre>final StepperAController controller = StepperAController();<br><br>onTap: (){<br>          controller.next();<br>   },<br></pre><p>For previous step:</p><pre>final StepperAController controller = StepperAController();<br>  onTap: (){<br>          controller.back();<br>       },</pre><p>If you need a floating button. This is very easy because “stepper_a” has two attributes “floatingPreviousButton” and “floatingForwardButton”.</p><pre>    floatingPreviousButton: FloatingButton(<br>                    buttonIconColor: Colors.white,<br>                    backgroundColor:  Colors.blueAccent,<br>                    position: Position(<br>                      left: 10,<br>                      top: 10<br>                    )<br>                ),<br>  floatingForwardButton: FloatingButton(<br>      buttonIconColor: Colors.white,<br>      backgroundColor:  Colors.blueAccent,<br>      position: Position(<br>          left: 10,<br>          bottom: 20<br>      )<br>  ),</pre><p>If you want to perform form validation, use the “formKey” attributes in “stepper_a”.</p><pre>  final formKey = GlobalKey&lt;FormState&gt;();<br><br>formKey: formKey,</pre><p>If you need custom icon stepper, use the “customSteps” attributes in “stepper_a”.</p><pre>customSteps: const [<br>    CustomSteps(stepsIcon: Icons.login, title: &quot;LogIn&quot;),<br>    CustomSteps(stepsIcon: Icons.location_on, title: &quot;Location&quot;),<br>    CustomSteps(stepsIcon: Icons.home, title: &quot;Home&quot;),<br>    CustomSteps(stepsIcon: Icons.account_circle, title: &quot;Account&quot;),<br>  ],</pre><p>Simple number stepper example:</p><pre>StepperA(<br>         stepperSize: const Size(350, 70),<br>         stepperAxis: Axis.horizontal,<br>         borderShape: BorderShape.rRect,<br>         borderType: BorderType.straight,<br>         floatingButton: false,<br>         stepperBodyWidget: [<br>            StepOne(controller: controller,),<br>            StepTwo(controller: controller,),<br>            StepThree(controller: controller,),<br>          ],<br>          stepBorder: true,<br>          step: const StepA(<br>              currentStepColor: Colors.purpleAccent,<br>              completeStepColor: Colors.green,<br>              inactiveStepColor: Colors.black38,<br>              margin: EdgeInsets.all(5)<br>          ),<br>        )</pre><p>OutPut:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*frYwmNQsxbJnlQkLss5dBw.gif" /></figure><h4>Full code example:</h4><pre><br>class ExampleOne extends StatefulWidget {<br>  const ExampleOne({Key? key}) : super(key: key);<br><br>  @override<br>  State&lt;ExampleOne&gt; createState() =&gt; _ExampleOneState();<br>}<br><br>class _ExampleOneState extends State&lt;ExampleOne&gt; {<br>  final StepperAController controller = StepperAController();<br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      appBar: AppBar(title: const Text(&quot;Stepper Example One&quot;),),<br>      body: StepperA(<br>        stepperSize: const Size(350, 70),<br>        stepperAxis: Axis.horizontal,<br>        borderShape: BorderShape.rRect,<br>        borderType: BorderType.straight,<br>        floatingButton: false,<br>        stepperBodyWidget: [<br>          StepOne(controller: controller,),<br>          StepTwo(controller: controller,),<br>          StepThree(controller: controller,),<br>        ],<br>        stepBorder: true,<br>        step: const StepA(<br>            currentStepColor: Colors.purpleAccent,<br>            completeStepColor: Colors.green,<br>            inactiveStepColor: Colors.black38,<br>            margin: EdgeInsets.all(5)<br>        ),<br><br>      ),<br>    );<br>  }<br>}</pre><p>On <a href="https://pub.dev/packages/stepper_a">this page</a>, you can learn more about <a href="https://pub.dev/packages/stepper_a">stepper_a</a>.</p><h4>Conclusion:</h4><p>The pub.dev public Stepper_a package provides a simple, customizable stepper widget that you can easily integrate into your Flutter app. With just a few lines of code, you can add a stepper to your app and customize it to fit your needs. Whether you’re building a wizard, a form, or any other multi-step process, the Stepper_a package is a great choice for your Flutter app.</p><p>Source code : <a href="https://github.com/uttom41/StepperExample">GitHub</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9bfdd6e45a1d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>