Kiera Smart

Kiera Smart

1571887195

Creating a Scrum Card App with Flutter

Welcome to my story, how I created a Scrum Card App with flutter in one day. With this article, I want to show you how simple it can be to create a flutter app. My challenge was to create a minimal app in a short time.

First, I want to start by creating a clear picture of what we want to achieve. I work currently on a Scrum Team, we always have to carry around our cards for sprint poker. These cards are old, dirty and very often used from a lot of teams and so I decided to change that with an app, once and for all.

Scrum Poker

If you have never worked in a Scrum Team before, you maybe never heard the term Scrum Poker. To explain the whole idea, would probably be too much for that story, but if you are interested Ravindra Prasad wrote an excellent article about that topic.

Visual guidance

For me, it is always helpful in my projects to have visual guidance like a prototype. This prototype can be a drawing on a paper or a fully-fledged prototype. For this article, I created a quick prototype in Adobe XD just to show you how it can look like and to give myself visual support.

Flutter Mobile

With that, we have a prototype and now we know what we want to create. Now we are ready for development. First of all, we have to create a new project with Flutter. On the Flutter Website, there are more information on how to set up your environment. I will use for this story Android Studio with the Flutter and Dart plugin.

Restructure our boilerplate

After the setup of the flutter project, let us start with removing all the comments that we do not need. I separate the Home Page from the main file so that we have a better feeling for our application. With that, we bring a bit more order in the project boilerplate. In our main file, this is what should remain.
Flutter Mobile

In the “myHomePage.dart” you will find the Stateful “MyHomePage” Widget that is initialized with the flutter project.
Flutter Mobile

And the following image should be the folder structure.
Flutter Mobile

Our HomePage

For our first shot, we want to use the existing Scaffold of the HomePage. This contains our scrum cards and a Flutter GridView. The GridView gives us the option to align multiple items in a grid. The count constructor of the GridView provides us, with the out-of-the-box functionality, to create our Grid with Cards.
Flutter Mobile

First, we initialize a variable “Fibonacci” so that we can contain the numbers in an array. If you take a closer look into the children of the count constructor of the GridView you can see the “for Loop”. Is this not great? We can loop inside the children array to map our Fibonacci array to placeholders.
Flutter Mobile

Great, the Grid looks already very promising. Did you see how the Placeholder widget is handy in this part? With that in place, we do not have to create anything for the card just yet. However, the result is already evident. The Placeholders help us to structure already our app without actually implementing something.

The Cards

Now that we have the basic structure in place, we have to think about how we want to display our Cards. Thankfully Flutter provides already something for us. The Card Widget will help us to create excellent visualization of the cards with Text inserted. Because the cards will not change, we can create a stateless widget for it with an icon or a number. For now, it will live in the “MyHomePage”.
Flutter Mobile

Flutter Mobile

Flutter Mobile

Gestures

Now it is time to control our behaviour of the app. When we tap a card, it should remove the widgets from the tree and replace it with a single card widget. That, however, changes the state of the “MyHomePage” Widget.

To achieve that tap behaviour, we first have to surround our Card element with a GestureController. After that, we have to specify the onTap event inside of the card.
Flutter Mobile

This will now print every click on a card in a separate line in the console.
Flutter Mobile

Downtime

Flutter Mobile

Alright, we made it very far already. So let’s take a break and recap shortly, what we created already.

  • a Design for our Scrum Card App
  • a HomePage
  • a ScrumCard widget
  • Gestures and tapping event

The next thing that we need to do is to change the state of our app, after a tap. Whenever a card is tapped we want to replace the Body from the HomePage with a Big ScrumCard Widget.

Now comes the tough part so. Therefore make yourself ready, take a deep breath and then let’s get into it!
Flutter Mobile

State Management

There are two different kinds of Widgets in Flutter.

  1. Stateless Widgets
  2. Stateful Widgets

The stateless widget is a widget that will always be shown according to its initial values. During its lifetime the initial values can not change. The stateful widget, on the other hand, contains a real state and if you change the state the widget will be re-rendered. If you want to read more about the different types of widgets feel free to take a look at the article by Deepak K.

Now we have to first time handle the state of our widgets. When we click the button the state of the “Grid Widget” should change to a big “Card Widget”. This tells us that we have at least two different states in our app. To keep track of these states we have to change our current “Stateless” Widget to a “Stateful” Widget. The easiest way is to click on Stateless Widget and use the IDE function to change the Stateless Widget to a Stateful Widget.
Flutter Mobile
Because the new Widget is now stateful, we can change its value and the “build” method can react to these different states.
Flutter Mobile

We want to track the information of the Icon that we want to show or the Text that is visible on the card so we need that to a state. I call that variables “singleCardText” and “singleCardIcon”. Additionally, I want to have a boolean that knows if I have to show the Main Page with all Cards or just the Single Big Card.

Be careful at that point, I made here a big mistake and put all these variables in the build method. The build method gets called multiple times and whenever it gets called it overwrites the values again.
Flutter Mobile

Of course, that sounds trivial but cost me 1 hour of my lifetime.

The Exchange

Now we want to swap the widgets based on the “isHomePage” value. Therefore we can use one of Flutter skills. We surround our GridView.count constructor with an ternary operator. That checks our isHomePage and add the respective Widget to the Container.
Flutter Mobile

If you get confused by the “?” and the “:” in the code I can recommend you to read an article about “Ternary Operator” from Deven Joshi. With that in place, we have the opportunity to change the “isHomePage” to false and it would show us only the Padding (and whatever is there inside) or we keep it on true, and it will show us the GridView. Therefore we need the “setState” method. It will allow us very easy to change the current state of the widget.
Flutter Mobile

Great so far. Now instead of the tap where we just print something in the console, we want to execute the “switchToCard” method. But how? The method has to live in the _HomePageState and the ScrumCard has no access to that state? Alright then, let me explain it to you because there is a fairly simple solution to that problem. We just pass our function into the ScrumCard Widget. And whenever the user taps now on the card we call that method and “notify” our parent widget.
Flutter Mobile

Flutter Mobile

If you take a brief look into the code snippets you can see that the ScrumCard calls the notifyParent method, which in fact is the switchToCard method. This should help us now to transform from a grid with multiple scrum cards, to a single big one and Vice Versa. Now there is only one step left, we have to create a beautiful Card UI that will be generated when the isHomePage is false.
Flutter Mobile

As you most likely already discovered I added here another function for notifyParent so that we can swap back to the HomePage.

Now the switch of card and grid should work already. To improve our app even more we can use the “ AnimatedSwitcher”. I found this amazing video from the flutter team and that is a perfect use case. The AnimatedSwitcher, as you maybe have already guessed, helps us to swap two widgets with each other. It adds a smooth transition between these two and this looks much more friendly. You just have to put your ternary operator in between as a child and give it a Duration how long the transition should take.
Flutter Mobile

Ok, so let’s run our simulator or emulator and take a look how the app looks now.
Flutter Mobile

Conclusion and What’s next

This is now an app that already solves one important problem in software engineering. From now on I do not have any more to carry real cards from one room to another. Never again I will have to grab old smelly cards and show them to my Product Owner. We do not want to know which liquids touched those filthy cards…

This is of course just the beginning. With the knowledge that we got during this session, we can do much more. This app shows how easy it is with flutter to create a nice fully functional app.

Now it is your turn. My challenge for you till my next article is, to create this app or fork my repository from GitHub and extend this app by a small additional functionality. To give you some examples that you could add,

  • Make it possible to change from Fibonacci numbers to other Scrum Poker numbers
  • Create a history of the selected cards
  • Make a custom Animation between the transitions

#flutter #dart #mobile-app

What is GEEK

Buddha Community

Creating a Scrum Card App with Flutter

Google's Flutter 1.20 stable announced with new features - Navoki

Flutter Google cross-platform UI framework has released a new version 1.20 stable.

Flutter is Google’s UI framework to make apps for Android, iOS, Web, Windows, Mac, Linux, and Fuchsia OS. Since the last 2 years, the flutter Framework has already achieved popularity among mobile developers to develop Android and iOS apps. In the last few releases, Flutter also added the support of making web applications and desktop applications.

Last month they introduced the support of the Linux desktop app that can be distributed through Canonical Snap Store(Snapcraft), this enables the developers to publish there Linux desktop app for their users and publish on Snap Store.  If you want to learn how to Publish Flutter Desktop app in Snap Store that here is the tutorial.

Flutter 1.20 Framework is built on Google’s made Dart programming language that is a cross-platform language providing native performance, new UI widgets, and other more features for the developer usage.

Here are the few key points of this release:

Performance improvements for Flutter and Dart

In this release, they have got multiple performance improvements in the Dart language itself. A new improvement is to reduce the app size in the release versions of the app. Another performance improvement is to reduce junk in the display of app animation by using the warm-up phase.

sksl_warm-up

If your app is junk information during the first run then the Skia Shading Language shader provides for pre-compilation as part of your app’s build. This can speed it up by more than 2x.

Added a better support of mouse cursors for web and desktop flutter app,. Now many widgets will show cursor on top of them or you can specify the type of supported cursor you want.

Autofill for mobile text fields

Autofill was already supported in native applications now its been added to the Flutter SDK. Now prefilled information stored by your OS can be used for autofill in the application. This feature will be available soon on the flutter web.

flutter_autofill

A new widget for interaction

InteractiveViewer is a new widget design for common interactions in your app like pan, zoom drag and drop for resizing the widget. Informations on this you can check more on this API documentation where you can try this widget on the DartPad. In this release, drag-drop has more features added like you can know precisely where the drop happened and get the position.

Updated Material Slider, RangeSlider, TimePicker, and DatePicker

In this new release, there are many pre-existing widgets that were updated to match the latest material guidelines, these updates include better interaction with Slider and RangeSliderDatePicker with support for date range and time picker with the new style.

flutter_DatePicker

New pubspec.yaml format

Other than these widget updates there is some update within the project also like in pubspec.yaml file format. If you are a flutter plugin publisher then your old pubspec.yaml  is no longer supported to publish a plugin as the older format does not specify for which platform plugin you are making. All existing plugin will continue to work with flutter apps but you should make a plugin update as soon as possible.

Preview of embedded Dart DevTools in Visual Studio Code

Visual Studio code flutter extension got an update in this release. You get a preview of new features where you can analyze that Dev tools in your coding workspace. Enable this feature in your vs code by _dart.previewEmbeddedDevTools_setting. Dart DevTools menu you can choose your favorite page embed on your code workspace.

Network tracking

The updated the Dev tools comes with the network page that enables network profiling. You can track the timings and other information like status and content type of your** network calls** within your app. You can also monitor gRPC traffic.

Generate type-safe platform channels for platform interop

Pigeon is a command-line tool that will generate types of safe platform channels without adding additional dependencies. With this instead of manually matching method strings on platform channel and serializing arguments, you can invoke native class and pass nonprimitive data objects by directly calling the Dartmethod.

There is still a long list of updates in the new version of Flutter 1.2 that we cannot cover in this blog. You can get more details you can visit the official site to know more. Also, you can subscribe to the Navoki newsletter to get updates on these features and upcoming new updates and lessons. In upcoming new versions, we might see more new features and improvements.

You can get more free Flutter tutorials you can follow these courses:

#dart #developers #flutter #app developed #dart devtools in visual studio code #firebase local emulator suite in flutter #flutter autofill #flutter date picker #flutter desktop linux app build and publish on snapcraft store #flutter pigeon #flutter range slider #flutter slider #flutter time picker #flutter tutorial #flutter widget #google flutter #linux #navoki #pubspec format #setup flutter desktop on windows

Alex Colmen

1623751848

What is Cash App and how does Activate My Cash App Card?

Cash App is a smart phone payment app that is advanced through Square. Inc. The payments app permits users to transfer cash to 1 any other. Square Company added square cash for businesses functions for individuals, various companies, business proprietors for sending, receiving money which recognized as $cash tag.

The app allows its users for inquiring for and transferring money from one cash account to any other thru cash app or e-mail. It also allow users to withdraw cash thru its debit visa card called as cash card in ATM or any local bank account.

Cash App recorded approximately 7 million active users are in the month of February 18th in year 2018. In the month of January the app commenced the provider of helping bitcoin trading. It has its cash card that is black in Color. It is used for withdrawing money from ATM or bank account.

The card is customizable and may be used by signing at the Mobile App after which sign will be printed on the app and dispatched to person. Square cash company had added their different username which is known as $cashtag. It enables its users in transferring and requesting cash from unique users through coming into such user name. Cash card may be used everywhere in each online payments and in stores also.

How To Activate Cash App Card

When it involves a dependable money transfer app, the name of the Cash app comes into the limelight. Developed and advertised through Square Inc. it’s miles introduced in the market place with an purpose to cater to financial needs. This provider facilitates the users to transfer funds, receive cash requests, pay app bills, and many more. Most importantly, you may also purchase digital currencies including Bitcoin and invest in the stock market place. Like a bank account, it also offers its registered account holders a debit card (better known as Cash Card). With the help of a Cash app card, you may make payments, withdraw cash, and also do various things. To employ this kind of wonderful card, you want to Activate Cash App Card after you get it.

In the blog below, we’re going to share some essential information about the way to activate your cash app card. Moreover, you may also make yourself aware about additional helpful information about the Cash card. Hence, you want to consult the manual right here and find out a better way to use the Cash card to its fullest.

Easy steps to activate cash app card?

To activate your Cash Card the use of the QR code that arrived with it:
• Click the Cash Card tab to your Cash App home screen
• Click the picture of your Cash Card
• Click Activate Cash Card
• Click OK whilst your Cash App asks to apply your digital camera
• Line your digital camera up with the QR code till it comes into focus

Cash App Card Activation With A QR Code

Upon reception of your cash app card, you may also accept an activation QR code. You will want this code to activate your card, the usage of the following steps:

  1. The first issue is to open up the Cash App to your smart phone. Once you open up the app, click the balance amount on your Cash App screen (top middle of the home screen). If your account balance is $0, tap “Cash & BTC”.
  2. Look for the image of your Cash Card and click on it. A listing of alternatives will pop-up, tap “Scan QR Code”.
  3. When Cash App requests permission to apply your smart phone’s camera, click “OK”. Place your smart phone of the QR code in order that it could be visible immediately via the camera. Once the app procedures the QR code information, your card will be officially activated.

Also Know: Cash App Login

Cash App Card Activation Without A QR Code

Unlike the opposite payment apps, Square Cash App we could the users activate their cash cards through scanning a code. Basically, this technique is referred to as automatic or without a card technique. Why? Because on this technique users do not require to have access to a cash card. What matters most is only a QR code. Moreover, it’s also really well worth noting that a Cash App card constantly comes with an different QR code with the shipping of the brand new coins card. If you have also were given your brand new card, follow these steps to activate your Cash App Visa Debit in Cash App on smart phone.
• Navigate to the Cash App mobile app to your phone.
• Then, the next step is to choose a cash-card icon to be had on the home display from the left corner.
• Further, from the drop down menu choose “Activate cash card” to feature a life to it.
• Now Square Cash App might ask you to grant permission to get right of entry to your smart phone’s camera.
• Allow Cash App to have access to your phone’s digital camera to scan a QR code.
• Now set your smart phone camera’s focus to your QR code and scan it.
• Upon a success scanning a QR code, your cash card will all set ready to spend money.

How to Activate Cash App Card on Phone and Computer?

Undoubtedly, the consistent and rapid development in the banking device has resulted in the major relief to the people who ship and get hold of cash online. However, notwithstanding having superior net era and smart phones, some range of demanding situations nevertheless exist with inside the fee device. To triumph over a vast variety of troubles along with fee failure, slow, and slow cash transfer problem, Cash App by Square may be the first-rate answer. More specifically, a Cash App card can genuinely do wonders on the subject of making fee after shopping. Before the whole thing else, be informed that the cash card is difficulty to the activation system. In order to attract the most advantages, you should learn how to activate Cash App card?

As you’re studying this assisting post, possibilities are excessive which you do not have an concept about how you can activate your Cash App card on Cash App payment app. If so, appearance no further. To help you recognize the step by step system to activate a cash card, I am going to reply a number of the important questions.

In case if any of you isn’t a super fan of reading, they can touch and talk to the Cash App consultant directly. Alternatively, scroll down and keep to study this helping post. To be extra clearer, with the aid of using studying this post, you may learn the 2 simple ways to activate a Cash App Debit Card. So, let’s recover from to the first approach to activate a cash card by scanning a QR code.

#activate cash app card via phone #cash app activate card #activate cash app card #activate cash app card phone number #activate cash app card by phone #how to activate your cash app card

Harry Patel

Harry Patel

1614145832

A Complete Process to Create an App in 2021

It’s 2021, everything is getting replaced by a technologically emerged ecosystem, and mobile apps are one of the best examples to convey this message.

Though bypassing times, the development structure of mobile app has also been changed, but if you still follow the same process to create a mobile app for your business, then you are losing a ton of opportunities by not giving top-notch mobile experience to your users, which your competitors are doing.

You are about to lose potential existing customers you have, so what’s the ideal solution to build a successful mobile app in 2021?

This article will discuss how to build a mobile app in 2021 to help out many small businesses, startups & entrepreneurs by simplifying the mobile app development process for their business.

The first thing is to EVALUATE your mobile app IDEA means how your mobile app will change your target audience’s life and why your mobile app only can be the solution to their problem.

Now you have proposed a solution to a specific audience group, now start to think about the mobile app functionalities, the features would be in it, and simple to understand user interface with impressive UI designs.

From designing to development, everything is covered at this point; now, focus on a prelaunch marketing plan to create hype for your mobile app’s targeted audience, which will help you score initial downloads.

Boom, you are about to cross a particular download to generate a specific revenue through your mobile app.

#create an app in 2021 #process to create an app in 2021 #a complete process to create an app in 2021 #complete process to create an app in 2021 #process to create an app #complete process to create an app

Hire Dedicated Flutter App Developer USA| Flutter App Developers

Hire Flutter App Developers: WebClues Infotech is a Flutter App Development company. Our Flutter mobile app development team can create cross-platform apps for different industry verticals. Our Flutter developers will help you extend your business’s scope by developing enhanced functionality and a feature-rich app. To provide a rich user experience to your users, hire dedicated Flutter app developers from WebClues Infotech today!

#hire flutter app developers #hire dedicated flutter app developer usa #hire flutter app developer usa #hire dedicated flutter app developer #hire flutter developer #flutter app development company

Best Flutter App Development Company

Are you looking for the best flutter app development company? Then AppClues Infotech is the leading flutter app development company in USA offering the best service worldwide. We focused on developing hybrid mobile apps on Android & iOS and assures our end-user about exceptional and functionally-rich mobile apps.

For more info:
Website: https://www.appcluesinfotech.com/
Email: info@appcluesinfotech.com
Call: +1-978-309-9910

#top flutter app development company in usa #best flutter app development service #best flutter app development company #hire flutter app developers #flutter app development company #expert flutter app development company