We going to use OutlinedButton and DecoratedBox to develop the button with a custom shadow. DecoratedBox is a widget that paints a Decoration either before
Author: Maksim Korolyov
How to add the Modal Bottom Sheet. We can use the embedded function showModalBottomSheet. A modal bottom sheet is an alternative to a menu or
To download a file we can use a few ways. We will use SSH for this purpose. SCP (secure copy) is a command-line utility that
How to set a gradient background for the Container. We will need the decoration attribute in Container. LinearGradient is used by BoxDecoration to represent linear
You can use it on your server to render web pages to HTML or pdf. In my case, I use it to render dynamic js
Here is an example of how to build the bottom navigation bar. NavigationBar is included in flutter/material.dart package.This widget allows toggle between your screens. Structure
This is the widget to work with Future objects. If you need to build a widget that should consume a Future object – FutureBuilder is
To log the large string you can use the log method from dart:developer All you need is just add to the import block this: And
If you need to suspend code execution for some period of time you can use the sleep() function. The sleep() function suspend execution of the calling thread