How to Add a Forward Button to WebView in Flutter

The flutter webview package has a WebView widget that provides an easy way to display web pages within your mobile application. Sometimes you may need to add navigation controls to the WebView, such as a forward button to allow the user to move forward in the web page’s history. In this blog post, let’s check … Read more

How to Use Iframe within WebView in Flutter

The WebView allows us to display web content in a flexible way inside mobile apps. The ability to add an iframe to a WebView adds another level of versatility, as it allows you to embed content from other sources directly within your web page. In this blog post, let’s learn how to use iframe in … Read more

How to Get WebView Current URL in Flutter

The WebView is extremely useful to display a web page in Flutter. It also allows users to navigate through web pages. In this blog post, let’s learn how to get the current URL in Flutter. We use webview_flutter Package in this tutorial. You can install it using the instructions given here. If you want to … Read more

How to Add Back Button to WebView in Flutter

In order to provide a better user experience, it is recommended to add a back button to the webview, so that users can navigate back to the previous page easily. In this blog post, let’s learn how to add a WebView with a back button in Flutter. You can create webview in Flutter using the … Read more

How to Sort a List by Date in Flutter

Organizing data is an essential aspect of any app. And the sorting is a fundamental operation for this purpose. In this blog post let’s learn how to sort a List by date in Flutter. Assume that you have the following List. Let’s change the above List so that the dates will be sorted in descending … Read more

How to Calculate Age from a Date in Flutter

A signup form seems incomplete without a field for date of birth. In this blog post, let’s learn how to do age calculation from a given date in Flutter. We use the date picker here. The age is calculated when the user selects the date. We use the following function to calculate the age in … Read more

How to Add Date Range Picker in Flutter

Date range pickers are an essential component in most modern apps that allows users to select a range of dates. With Flutter’s intuitive and flexible UI framework, you can easily create a date range picker that fits your app’s design and requirements. In this blog post, let’s learn how to show a date range picker … Read more

How to Convert Base64 to PDF in Flutter

Base64 is a popular encoding format for representing binary data as text, and it’s widely used for encoding and decoding data in various applications. In this blog post, let’s learn how to convert base64 to PDF in Flutter. In this tutorial, we use a sample base64 string and convert it into PDF. Then we open … Read more

How to Create a PDF File in Flutter

PDF files are widely used for sharing and storing important documents, and with the rise of mobile applications, it’s become crucial to be able to generate PDF files on the go. In this blog post, let’s learn how to create a PDF in Flutter. In this tutorial, we use the pdf package to generate a … Read more

How to Open PDF in Flutter using PDF Viewer

PDF files are an integral part of our daily lives and we often come across a situation where we need to view PDF files on our mobile devices. In this blog post, let’s learn how to prompt the flutter app to open a PDF file using the default PDF viewer of your Android or iOS … Read more