Responsive-Ui-builder - The responsive ui builder package contains widgets that helps you to create your UI responsive

Overview

Responsive Ui Builder

Getting Started

The responsive ui builder package contains widgets that helps you to create your UI responsive.

Responsive UI Builder Preview

Installation

Add responsive_ui_builder as dependency to your pubspec file.

responsive_ui__builder:

Usage

This package provides a widget called ResponsiveUiBuilder that provides you with a builder function that returns the current ResponsiveUiSize.

Responsive Builder

The ResponsiveUiBuilder is used as any other builder widget.

// import the package
import 'package:responsive_ui_builder/responsive_ui__builder.dart';

// Use the widget
ResponsiveUiBuilder(
            small: (context, sm) {
              return Container(
                color: Colors.red,
              );
            },
            medium: (context, md) {
              return Container(
                color: Colors.yellow,
              );
            },
            large: (context, lg) {
              return Container(
                color: Colors.green,
              );
            },
          );

This will return different colour containers depending on which device it's being shown on. A simple way to test this is to either run your code on Flutter web and resize the window.

Custom Screen Breakpoints

If you wish to define your own custom break points you can do so by supplying e ResponsiveUiBuilder widgets with a breakpoints argument.

// import the package
import 'package:responsive_ui_builder/responsive_ui_builder.dart';
//ScreenTypeLayout with custom breakpoints supplied
ResponsiveUiBuilder(
            breakpoints:
                const ScreenBreakpoints(medium: 600, large: 950, small: 300),
            small: Container(color: Colors.blue),
            medium: Container(color: Colors.yellow),
            large: Container(color: Colors.red),
          ),
You might also like...

UIWidget is a Unity Package which helps developers to create, debug and deploy efficient, cross-platform Apps.

UIWidget is a Unity Package which helps developers to create, debug and deploy efficient, cross-platform Apps.

⚠️ The main repository of UIWidgets has been moved to https://github.com/Unity-Technologies/com.unity.uiwidgets. Please visit the new site if you have

Dec 27, 2022

This repository contains the Syncfusion Flutter UI widgets examples and the guide to use them.

This repository contains the Syncfusion Flutter UI widgets examples and the guide to use them.

Syncfusion Flutter examples This repository contains awesome demos of Syncfusion Flutter UI widgets. This is the best place to check our widgets to ge

Jan 4, 2023

NearTurf is a turf booking app that helps you find the best turf near you and book more slots. Created by using flutter , Node js

Near Turf A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if thi

Oct 26, 2022

Today we will show you how you can create your developer portfolio website and app using flutter.

Today we will show you how you can create your developer portfolio website and app using flutter.

Responsive and Animated Portfolio Website & App - Flutter UI Live Preview Watch it on YouTube Packages we are using: flutter_svg: link goole_fonts: li

Dec 30, 2022

An app that helps you manage your Postcard Creator orders. Built with Flutter

mailman A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Jan 10, 2022

An Instagram like text editor Flutter widget that helps you to change your text style.

An Instagram like text editor Flutter widget that helps you to change your text style.

TextEditor An instagram like text editor widget for flutter Show some ❤️ and star the repo to support the project Features Edit TextStyle object font

Dec 16, 2022

Flutter app that helps you manage your payments.

Flutter app that helps you manage your payments.

💵 PayFlow Screenshots | Tecnologias | Projeto | Licença 📸 Screenshots 🚀 Tecnologias Esse projeto foi desenvolvido com as seguintes tecnologias: Flu

Aug 18, 2022

A digital diary and mood tracking app that helps you in keeping track of your mood and productivity throughout the month/year.

A digital diary and mood tracking app that helps you in keeping track of your mood and productivity throughout the month/year.

StarBook ✨ A digital diary that can help you in keeping track of your mood and productivity throughout the month. Mood tracker is a good way to see ho

Dec 23, 2022

Asset manager helps you auto-generate the assets code and add it to your pubspec.yaml .

Asset manager helps you auto-generate the assets code and add it to your pubspec.yaml .

Asset Manager Asset manager helps you auto-generate the assets code and add it to your pubspec.yaml . Quick start dart pub global activate asset_manag

Nov 1, 2022
Owner
null
A new flutter package project which contains lots of beautiful alert dialog that will help you lot to create beautiful awesome alert box very quickly and easily.

A new flutter package project which contains lots of beautiful alert dialog that will help you lot to create beautiful awesome alert box very quickly and easily.

Karan Soni 8 Jan 8, 2022
Jannis 0 Jan 29, 2022
Form builder image picker - Form builder image picker for flutter

form_builder_image_picker Field for picking image(s) from Gallery or Camera for

Ferri Sutanto 0 Jan 28, 2022
A flutter application to track the number of hours you devoted a particular skill. Helps you track your process in a neat and organised way

10-000 Hours A flutter application to track the number of hours you devoted a particular skill. Helps you track your process in a neat and organised w

ACM VIT 4 Oct 31, 2022
Behruz Hurramov 0 Dec 29, 2021
An application that helps you to quit smoking by showing your everyday performance and boosting your confidence.

This Project is developed in HACKTOBERFEST 2022 By I Can And I Will An application that helps you to quit smoking by showing your everyday performance

Kalash Saini 10 Oct 27, 2022
This application was created using the Dart language and it is an application that contains a set of different questions and at the end shows you the number of correct answers you have answered , made by flutter

exams_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if thi

null 0 Dec 28, 2021
A new Flutter package which helps you to implement Ticket Widget in your app.

flutter_ticket_widget A new Flutter package which helps you to implement Ticket Widget in your app. The source code is 100% Dart, and everything resid

Mohak Gupta 112 Dec 22, 2022
This package provides some widgets you can use to create a smooshy UI.

Dough Library Squishy widgets for Flutter. Quick Links Dough Demos Here are a few samples of the different widgets provided by this repo. You can find

Josiah Saunders 537 Jan 8, 2023