MethodBuilder

A comprehensive, customizable widget that works with FutureBuilder to create visually appealing, reusable UI components with HTTP methods and JSON Web Token (JWT) support.
This widget is built for flexibility and supports customization via padding, margin, box decoration, icons, and more.

Requires: http and flutter_secure_storage


Features

  • FutureBuilder integration for asynchronous data fetching
  • Customizable UI with icon, padding, margin, and box decoration
  • HTTP method support for fetching data
  • JWT token handling for secure API calls
  • Optional icon builder for per-item icon customization
  • Adjustable width factor for responsive layouts

Installation

Add this to your pubspec.yaml:

dependencies:
  future_widget_builder: any

Run

flutter pub get

Preview

Product Preview Widget

Preview 1

Showing product like widgets that are highly customizable and show (Product media, Product Labels, Manufacturing Brand, Model, Title, Rating and Time)

Media Preview Widget

Preview 2

Showing youtube like widgets that are highly customizable and show (Media Image, Media Labels, Title, Channel Name, Views analytics and Time)

Basic Information Widget

Preview 3

Basic data representation using future (Title, Subtitle, Icon, Description and Time)