КА
Size: a a a
КА
ᴛʀ
class FullScreenDialog extends StatefulWidget {
final int positionCard;
FullScreenDialog({Key key, @required this.positionCard}) : super(key: key);
@override
_FullScreenDialogState createState() => _FullScreenDialogState();
}
class _FullScreenDialogState extends State<FullScreenDialog> {
void _saveForm() {
final data = Catalog(
mainImage: mainImage[0],
imagesList: imagesList,
textDescription: _controller1.text);
Navigator.pop(
context,
MaterialPageRoute(
builder: (context) => CreateCardPage(
catalog: data,
position: positionCard,//Вот эту передать
)));
}
//Остальная часть кода, убрана
}
КА
class FullScreenDialog extends StatefulWidget {
final int positionCard;
FullScreenDialog({Key key, @required this.positionCard}) : super(key: key);
@override
_FullScreenDialogState createState() => _FullScreenDialogState();
}
class _FullScreenDialogState extends State<FullScreenDialog> {
void _saveForm() {
final data = Catalog(
mainImage: mainImage[0],
imagesList: imagesList,
textDescription: _controller1.text);
Navigator.pop(
context,
MaterialPageRoute(
builder: (context) => CreateCardPage(
catalog: data,
position: positionCard,//Вот эту передать
)));
}
//Остальная часть кода, убрана
}
MP
MP
S
MP
А
S
class FullScreenDialog extends StatefulWidget {
final int positionCard;
FullScreenDialog({Key key, @required this.positionCard}) : super(key: key);
@override
_FullScreenDialogState createState() => _FullScreenDialogState();
}
class _FullScreenDialogState extends State<FullScreenDialog> {
void _saveForm() {
final data = Catalog(
mainImage: mainImage[0],
imagesList: imagesList,
textDescription: _controller1.text);
Navigator.pop(
context,
MaterialPageRoute(
builder: (context) => CreateCardPage(
catalog: data,
position: positionCard,//Вот эту передать
)));
}
//Остальная часть кода, убрана
}
MP
RE
А
S
RE
АС
EC
EC
DS
SS
А