Two Screens of a sample real estate app.

Overview

Flutter UI Practice

Two Sample Screens for a real estate app UI

These UI Screens are from RetroPortal Studio

The Images are from unsplash

How To Test

Prerequisite

  1. Flutter/Dart knowledge
  2. Physical or virtual mobile device
  3. Flutter development environment
  4. Text Editor or IDE

Steps

  1. Clone this repository
  2. Open the project folder on a text editor or IDE
  3. Install dependencies run flutter pub get on the terminal console
  4. Connect device to the text editor or IDE
  5. Debug the project.

Updates to the code

  1. The naming of constant variables adjusted to match dart convention.
  • lib/utils/constants.dart.
  • The body Texts have a height property to regulate the line-height of the paragraphs
  1. The accentColor was deprecated use secondary color from colorSwatch instead. lib/main.dart
return MaterialApp(
    theme: ThemeData(
        colorScheme: ColorScheme.fromSwatch().copyWith(
            secondary: colorGrey,
        ),
    ),
);
  1. Add the nullable operator to the padding variable declaration of the border box widget to allow building the widget with a null padding value.
  • lib/custom/border_box.dart
  • final EdgeInsets? padding
  1. Replace all Container widgets with a width and height property to SizedBox widget.

  2. Refactor code so that reusable widgets are contained within their respective files.

  3. Remove the unecessary container in the RealEstateItem Widget and add padding from the bottom to the Column replacing the aforementioned container.

  • lib/custom/real_estate_ite,.dart
  1. Remove unecessary Strin Interpolation on the currency value text widget.
  • lib/custom/real_estate_ite,.dart
  1. FlatButton was deprecated so the FlatButton widget is replaced with the TextButton with matchin styling as the deprecated FlatButton.
  • A convinient way of restricting the size of a TextButton widget is to use a SizedBox of fixed width and height then have the TextButton as a child of the SizedBox widget. like so:
return SizedBox(
      width: width,
      child: TextButton(
        onPressed: () {},
        style: TextButton.styleFrom(
          backgroundColor: colorDarkBlue,
          foregroundColor: colorWhite,
          shape: RoundedRectangleBorder(
            borderRadius: BorderRadius.circular(50.0),
          ),
          padding: const EdgeInsets.symmetric(
            horizontal: 20.0,
            vertical: 15.0,
          ),
        ),
        child: Row(
          children: <Widget>[
            Icon(
              icon,
              color: colorWhite,
            ),
            addHorizontalSpace(10.0),
            Text(
              text,
              style: const TextStyle(color: colorWhite),
            ),
          ],
        ),
      ),
    );
  1. Migrate the app routing from Navigator 1.0 to GoRouter.

Images:

Simulator Screen Shot - iPhone 13 - 2022-11-17 at 16 10 00 Simulator Screen Shot - iPhone 13 - 2022-11-17 at 16 32 38

You might also like...

This is a university marketplace, where students buy and sell products and services online or offline. Mainly to connect the two parties together.

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

Jan 10, 2022

changelog.dart provides a library and a command-line application to manage in the correct way the git metadata to build the changelog between two release

changelog.dart provides a library and a command-line application to manage in the correct way the git metadata to build the changelog between two release

changelog.dart 🎯 changelog.dart: a collection of tools to manages in a fashion way a repository as maintainer. 🎯 Project Homepage Table of Content I

Dec 18, 2022

Create flutter project with all needed configuration in two minutes (theme, localization, connect to firebase, FCM, local notifications, safe API call, error handling, animation..etc)

Create flutter project with all needed configuration in two minutes (theme, localization, connect to firebase, FCM, local notifications, safe API call, error handling, animation..etc)

Flutter GetX Template Flutter Getx template to make starting project fast and easy . Introduction We all face the same problem when we want to start a

Jan 7, 2023

A Flutter widget that simply balances the lines of two-line text

A Flutter widget that simply balances the lines of two-line text

Flutter Balanced Text ⚖️ A Flutter widget that simply balances the lines of two-line text, especially useful on long titles or short descriptions. Doe

Nov 10, 2022

Hero Effect for common words of two Text (Flutter)

Hero Effect for common words of two Text (Flutter)

Hero Effect for common words of text widget (something like magic move in keynote) Features Usage Usage is easily and likes Hero,but obviously the chi

Oct 12, 2022

A program for booking restaurants that allows two types of the user (admin & customer).

  A program for booking restaurants that allows two types of the user (admin & customer).

restaurant Programmed by Flutter A program for booking restaurants that allows two types of the user (admin & customer). The admin can upload products

May 22, 2022

App that simulates a flow of screens for the course of navigation and routes with nuvigator through Flutter

App that simulates a flow of screens for the course of navigation and routes with nuvigator through Flutter

Rotas app App que simula um fluxo de telas para o curso de navegação e rotas com

Dec 19, 2021

A Flutter app to showcase different types of Splash Screens

A Flutter app to showcase different types of Splash Screens

Flutter Splash Demo A Flutter applicaiton to showcase how to make different types of Splash Screens. In this demo we have used Video Player plugin, th

Dec 29, 2022

Pasar parametros - App to practice navigation between screens and passing parameters from A-B and B-A

Pasar parametros - App to practice navigation between screens and passing parameters from A->B and B->A

App 5 App para practicar navegacion entre pantallas y paso de parametros de A-B

Feb 6, 2022
Owner
futureNow_team254
We are team 254
futureNow_team254
mypro immobilier app created to manage our real estate agency, we can store products, contacts and transactions..

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

soufiane bouchtaoui 1 Dec 11, 2021
Tasawq App — Flutter framework and Firebase An application that objectives to display all nearby stores of all kinds and real estate.

Tasawq App — Flutter framework and Firebase An application that objectives to display all nearby stores of all kinds and real estate. Multi-vendor, standard user login to view nearby products and stores for rating, follow-up, messaging and more

null 1 Nov 10, 2022
A Free And Beautiful Real Estate Flutter Ui Kit

?? ?? Real Estate Flutter UI Kit ?? ?? ?? ⭐️ ⭐️ ??‍?? Free Flutter UI Kits based

Behruz Hurramov 3 Jul 2, 2022
Navigation the Multiple Screens ( All categories and Favourites Screens ) and add settings to sort the meals based on categories

meals_app Navigation the Multiple Screens ( All categories and Favourites Screens ) and add settings to sort the meals based on categories Getting Sta

Avinash Poshiya 1 Nov 29, 2021
Note provider - Note App using Provider state management, Sqflite and Localization for two language Arabic and English.

note_provider Sqflite with provider statemanagement Getting Started This project is a starting point for a Flutter application. A few resources to get

Mohanned Anwar 0 Jan 1, 2022
Simple UI design implementation of two pages.

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

null 4 Sep 22, 2021
This is an auction application just like eBay. Using firebase as the backend for signup & sign-in functionality. In addition to that, it's a two pages application with user bid in input and count down view.

Nilam This is an auction application just like eBay. Using firebase as the backend for signup & sign-in functionality. In addition to that, it's a two

Md. Siam 5 Nov 9, 2022
Two-dimensional recursive spatial subdivision: Flutter implementation of d3-quadtree

d3-quadtree A quadtree recursively partitions two-dimensional space into squares, dividing each square into four equally-sized squares. Each distinct

Tutero 4 Nov 26, 2022
Material color picker, you can customize colors. Selection in two step, first main color and after shades.

Flutter Material Color Picker Material Color picker is a Flutter widget, that can be customizable. By default, it's Material Colors, but you can defin

Jean-Charles Moussé 70 Nov 25, 2022
Flutter package for drag-and-drop reordering of two-level lists

drag_and_drop_lists Two-level drag and drop reorderable lists. Features Reorder elements between multiple lists Reorder lists Drag and drop new elemen

Philip Brink 168 Dec 18, 2022