GithubHelp home page GithubHelp logo

trendingtechnology / well_formed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dartoos-dev/well_formed

0.0 1.0 0.0 216 KB

A Flutter form field package designed to relieve the developer of much of the form-related coding by providing out-of-the-box field masking, validation, trimming, and more.

License: MIT License

Dart 95.28% Swift 1.08% Objective-C 0.04% HTML 3.60%

well_formed's Introduction

well_formed

EO-Color logo

EO principles respected here DevOps By Rultor.com

pub license PDD status

build codecov CodeFactor Grade style: lint Hits-of-Code

Contents

Overview

Well-Formed Widget Fields — Well-Formed is a form field package designed to relieve the developer of much of the form-related coding by providing out-of-the-box field masking, validation, smart trimming, and more.

In addition, this package aims to:

  • improve the readability of the source code by providing form fields that have "semantic" names — names that convey their purpose at first glance — such as "EmailField", "DigitFields", "Ipv4Field", and so on.
  • select the keyboard type according to the field's purpose.
  • not to end up being yet another buggy Flutter form package!.

In order to be a reliable package, every class is well-documented and fully unit tested by a CI/CD pipeline with rigorous quality gates.

Getting Started

Most of the form fields in this package are built on top of a TextFormField widget so they remain fully compatible with the Form widget. This is quite important to avoid buggy behavior such as when a field does not get reset when its parent form gets reset.

Demo application

The demo application provides a fully working example, focused on demonstrating exactly three widgets in action — WellFormed, BasicTextField and DigitField. You can take the code in this demo and experiment with it.

To run the demo application:

git clone https://github.com/dartoos-dev/well_formed.git
cd well_formed/example/
flutter run -d chrome

This should launch the demo application on Chrome in debug mode.

References

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.