Added methods to allow the new task screen to update the blocs properties, revised
This commit is contained in:
parent
4db0ab4e53
commit
43cae32cf1
3 changed files with 15 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue