Dart and Flutter

Dart and Flutter

Dart Convert String to int with default value on failure

There are some cases in which a string needs to be converted to int/double. How can we do it in Dart? We can use the...
Dart and Flutter

Flutter Date and Time picker without additional dependencies

There are many packages in pub.dev for date time picker but Flutter offers beautiful date and time pickers. We actually...
Dart and Flutter

Flutter Convert TimeOfDay to 24 hours format

TimeOfDay is one of Flutter classes but not from dart. It stores only hours and minutes. It doesn't have year, month, d...
Sponsored links
Dart and Flutter

Flutter Apply text style to a target tree

If text style needs to be applied to a Text widget, it's easy to apply but if there are many widgets we don't want to a...
Dart and Flutter

Dart Random number in a range

Dart language offer Random class to generate a random result of boolean, int, and double value. The usage is very simpl...
Dart and Flutter

Flutter Line chart with a great graph tool Fl_Chart

I wanted to show a graph for my application, so I looked for some tools and found a great tool called fl_chart. I tried...
Dart and Flutter

Parse Json into a Dart class object

When calling an API via HTTP, the response is generally JSON format. To handle the response, we need to know how to par...
Dart and Flutter

Flutter Get data from Google Search Console

To keep running a blog, it's necessary to have a tool like Google Search Console for the analysis because I want to col...
Dart and Flutter

Flutter Keep login state and get Authorization bearer token

I wrote Flutter Google Login with Firebase before but its implementation doesn't keep the login state. The login state ...
Dart and Flutter

Flutter DataTable Cross axis scroll

When lots of data need to be shown on a screen, it requires a large view area that definitely doesn't fit the restricte...
Copied title and URL