Added methods to allow the new task screen to update the blocs properties, revised

This commit is contained in:
Mariano Uvalle 2019-03-31 23:43:26 -06:00
parent 4db0ab4e53
commit 43cae32cf1
3 changed files with 15 additions and 3 deletions

View file

@ -4,8 +4,10 @@ class BigTextInput extends StatelessWidget {
final double height;
final double width;
final bool elevated;
final Function(String) onChanged;
BigTextInput({
@required this.onChanged,
this.height,
this.width,
this.elevated = true,
@ -27,6 +29,7 @@ class BigTextInput extends StatelessWidget {
borderRadius: BorderRadius.circular(8.0),
),
child: TextField(
onChanged: onChanged,
maxLines: 3,
maxLength: 220,
maxLengthEnforced: true,