1
This commit is contained in:
@@ -12,14 +12,14 @@ class PlanFormCard extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _PlanFormCardState extends State<PlanFormCard> {
|
||||
final TextEditingController _inputController = TextEditingController();
|
||||
final TextEditingController _inputController = TextEditingController(text: "");
|
||||
|
||||
void _handSubmit() {
|
||||
if (_inputController.text.isEmpty) {
|
||||
return;
|
||||
}
|
||||
context.push(
|
||||
RoutePaths.planDetail(),
|
||||
RoutePaths.planDetail(0),
|
||||
extra: {
|
||||
"name": _inputController.text,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user