Skip to content

Instantly share code, notes, and snippets.

View bettdouglas's full-sized avatar
💭
Available

Douglas Bett bettdouglas

💭
Available
View GitHub Profile
@bettdouglas
bettdouglas / PY0101EN-3-2-Loops.ipynb
Created September 21, 2019 10:47
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bettdouglas
bettdouglas / PY0101EN-2-3-Sets.ipynb
Created September 21, 2019 10:07
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bettdouglas
bettdouglas / PY0101EN-2-4-Dictionaries.ipynb
Created September 21, 2019 10:07
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bettdouglas
bettdouglas / PY0101EN-3-1-Conditions.ipynb
Created September 21, 2019 10:07
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bettdouglas
bettdouglas / PY0101EN-2-1-Tuples.ipynb
Created September 21, 2019 07:22
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bettdouglas
bettdouglas / PY0101EN-1-2-Strings.ipynb
Created September 21, 2019 06:40
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bettdouglas
bettdouglas / PY0101EN-1-1-Types.ipynb
Created September 21, 2019 06:16
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
U7L5Rma+/+ODUvVhvM6goA12
192.168.5.18\CROPNUT
sa
1433
var _formKey = GlobalKey<FormState>();
child: Form(
key: _formKey,
child: Column(
children: <Widget>[
DynamicInput(
hint: 'Enter valid name',
controller: nameController,
String validator(String s) {
var validator = Validator(s,widget.type).validator;
switch (widget.type) {
case DataType.EMAIL:
return validator.validateRuleFor('email').errorText;
break;
case DataType.INTEGER:
return validator.validateRuleFor('int').errorText;
break;
case DataType.TEXT: