There are many ways to parsing json from request. In this post we are going to code how to parse json using
http package in Flutter and Dart.
At first, we need to add
http dependency in
We are going to make a request, it’s take a long time. That’s why, we need to use asynchronous programming. Otherwise, user interface will be frozen waiting response from request. We don’t want that!.
Dart provides two different way to asynchronous programming: future and the
await keywords. …
We have already created one tweet, in this post we are going to create list of tweet and add floating button action!.
At first, I refactored code and I renamed
MyApp widget to
TwitterCloneApp and I renamed
MyHomePage file to
Also, I created a new Stateless Widget called
main.dart had many responsibilities.
But, what is a Stateless Widget?. Well, almost everything is a Widget in Flutter.
Like its name say, Stateless Widget is a widget doesn’t…
This is a post continuation from first part. You can read here.
In this post we are going to code list of tweet. Let me introduce you to Flutter Layouts.
Layouts are a widgets and they are used to build UI. You can compose simple layouts to build complex layouts.
There are two type of Layouts:
Over my post, we are going to use both of them.
At first, we could diagram which layout we are going to use, for example:
This time, we are going to show how many words user is selecting from list. We can achieve using a Badge.
As all Flutter and Dart package, we need to add it in our
Once dependency downloaded, we are going to use…
In this post, we are going to show favorite elements selected from a list. This is a continuation of my previous post.
We need to add a button of somewhere which go to new screen with favorite words selected. In this case, i’m going to use an
IconButton for this design.
AppBar widget has a property called
actions which is a
List<Widget>, we just need to add one:
Welcome to a series posts which I will show you how to create a backend fully serverless with AWS using AWS SAM.
We are going to use AWS SAM which means Amazon Web Services — Serverless Application Model to build and deploy our app. SAM uses Lambda function, Event sources, CodeBuild, CodePipeline and other resources.
In this second post we are going to install and configure AWS CLI which will allow us interact with AWS services. In the first post we created an AWS account and we created an Administrator user.
Enthusiastic of new things. Good places, good ideas.