Skip to content

Instantly share code, notes, and snippets.

@rayjadore
rayjadore / flutter-dropdown.dart
Created January 29, 2019 10:27 — forked from naumanahmed19/flutter-dropdown.dart
Flutter DropdownButton With Validation
String _town;
_townField() {
return FormField<String>(
validator: (value) {
if (value == null) {
return "Select your area";
}
},
onSaved: (value) {
formData['town'] = value;
@rayjadore
rayjadore / README-Template.md
Created June 13, 2018 10:11 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites