Compare commits
No commits in common. "fa7182d75eda61a9e753e5a9c0bd6be82a88801d" and "5923e8dcc5c216dd152730417dca400cdb60a0cf" have entirely different histories.
fa7182d75e
...
5923e8dcc5
5 changed files with 7 additions and 13 deletions
|
|
@ -143,12 +143,6 @@ class _ConfirmationPopupState extends State<ConfirmationPopup> {
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
widget.exitPopup(context);
|
widget.exitPopup(context);
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
|
||||||
SnackBar(
|
|
||||||
content: Text("Enregistré: ${widget.book.title}"),
|
|
||||||
behavior: SnackBarBehavior.floating,
|
|
||||||
),
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
child: Text("Ok"),
|
child: Text("Ok"),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -243,7 +243,7 @@ class _FullyManualState extends State<_FullyManual> {
|
||||||
return null;
|
return null;
|
||||||
},
|
},
|
||||||
onSaved: (newValue) {
|
onSaved: (newValue) {
|
||||||
title = newValue?.trim();
|
title = newValue;
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
SizedBox(height: 10),
|
SizedBox(height: 10),
|
||||||
|
|
@ -259,7 +259,7 @@ class _FullyManualState extends State<_FullyManual> {
|
||||||
return null;
|
return null;
|
||||||
},
|
},
|
||||||
onSaved: (newValue) {
|
onSaved: (newValue) {
|
||||||
author = newValue?.trim();
|
author = newValue;
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
SizedBox(height: 10),
|
SizedBox(height: 10),
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ class _OwnerPopupState extends State<OwnerPopup> {
|
||||||
),
|
),
|
||||||
onSaved: (newValue) {
|
onSaved: (newValue) {
|
||||||
setState(() {
|
setState(() {
|
||||||
lastName = newValue?.trim();
|
lastName = newValue;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
validator: (value) {
|
validator: (value) {
|
||||||
|
|
@ -105,7 +105,7 @@ class _OwnerPopupState extends State<OwnerPopup> {
|
||||||
),
|
),
|
||||||
onSaved: (newValue) {
|
onSaved: (newValue) {
|
||||||
setState(() {
|
setState(() {
|
||||||
firstName = newValue?.trim();
|
firstName = newValue;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
validator: (value) {
|
validator: (value) {
|
||||||
|
|
@ -123,7 +123,7 @@ class _OwnerPopupState extends State<OwnerPopup> {
|
||||||
),
|
),
|
||||||
onSaved: (newValue) {
|
onSaved: (newValue) {
|
||||||
setState(() {
|
setState(() {
|
||||||
contact = newValue?.trim();
|
contact = newValue;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
validator: (value) {
|
validator: (value) {
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ class _EditPopup extends State<EditPopup> {
|
||||||
return null;
|
return null;
|
||||||
},
|
},
|
||||||
onSaved: (newValue) {
|
onSaved: (newValue) {
|
||||||
name = newValue?.trim();
|
name = newValue;
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Row(
|
Row(
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ class _CreateConfirmationPopupState extends State<CreateConfirmationPopup> {
|
||||||
return null;
|
return null;
|
||||||
},
|
},
|
||||||
onSaved: (newValue) {
|
onSaved: (newValue) {
|
||||||
name = newValue?.trim();
|
name = newValue;
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Row(
|
Row(
|
||||||
|
|
|
||||||
Reference in a new issue