Browse Source

verify form add

master
daivph 5 years ago
parent
commit
1f3f5aaae9
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      lib/presentation/screens/actions/nursery/sc_edit_action_nursery.dart

+ 4
- 0
lib/presentation/screens/actions/nursery/sc_edit_action_nursery.dart View File

shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: new BorderRadius.circular(8.0)), borderRadius: new BorderRadius.circular(8.0)),
onPressed: () { onPressed: () {
if (_workerNameController.text.isEmpty ||
_trayNumberController.text.isEmpty) {
return;
}
NurseryDetail _nurseryDetail = NurseryDetail() NurseryDetail _nurseryDetail = NurseryDetail()
..workerName = _workerNameController.text ..workerName = _workerNameController.text
..trayNumber = _trayNumberController.text; ..trayNumber = _trayNumberController.text;

Loading…
Cancel
Save