Flutter Tutorials

elevated button with icon flutter

How to Create Elevated Button with Icon and Text in Flutter

Many Flutter developers use ElevatedButton as their preferred button. In this blog post, let’s learn how to create an Elevated Button with Icon in Flutter. You can add Elevated Button with icon and text using ElevatedButton.icon constructor. Then you can make use of properties such as icon and label to add icon and text. Following …

How to Create Elevated Button with Icon and Text in Flutter Read More »

elevated button onpress color flutter

Change Elevated Button Color on Press in Flutter

I already have published few blog posts on the ElevatedButton widget. ElevatedButton is the ready-to-go button for many Flutter developers. In this blog post let’s check how to change the color of the elevated button at the time of pressing. You can change the background color of the ElevatedButton using MaterialStateProperty class. You can change …

Change Elevated Button Color on Press in Flutter Read More »

Flutter Number Keyboard

How to Make TextField Number only in Flutter

TextField is one of the most commonly used widgets in Flutter. It helps users to enter their text input. In this tutorial, let’s learn how to make the textfield number only by changing the keyboard type in Flutter. The keyboardType property of TextField class helps you to change the keyboard type. The TextInputType.number makes your …

How to Make TextField Number only in Flutter Read More »

integer to string flutter

How to Convert Integer and Double to String in Flutter

There’s already a blog post published on how to convert string into integer and double in Flutter. Here, let’s check how to convert integer and double into string in Flutter. Integer to String in Flutter An Integer can be converted into string using toString function. See the code snippet given below. Double to String in …

How to Convert Integer and Double to String in Flutter Read More »