Live code snippet

 A lot of boilerplate code can be written by installing plugins that generate code for you when typing a specific keyword defined by plugins.

For example typing below the whole line by yourself…

import 'package:flutter/material.dart';

This was just a simple example. It becomes really helpful when you don’t remember the exact syntax to get started with any widget. For example, starting to write a stateful widget with such plugins is time-saving instead of writing on your own.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.

How to extract filename from Uri?

Now, we can extract filename with and without extension :) You will convert your bitmap to uri and get the real path of your file. Now w...