質問編集履歴

1

余分なコードの削除

2022/06/14 08:33

投稿

nugio.kutusita
nugio.kutusita

スコア21

test CHANGED
File without changes
test CHANGED
@@ -49,12 +49,7 @@
49
49
  String menuName = ModalRoute.of(context)?.settings.arguments as String;
50
50
  menuNameController.text = menuName;
51
51
 
52
- return Scaffold(
52
+ return Scaffold(
53
- appBar:AppBar(
54
- backgroundColor: Colors.blue[900],
55
- leading: Icon(Icons.post_add),
56
- title: Text("メニュー名変更",style: TextStyle(fontSize: 17),),
57
- ),
58
53
  body: Center(
59
54
  child: SingleChildScrollView(
60
55
  child: Column(
@@ -63,11 +58,6 @@
63
58
  Container(width: 220,height: 60,
64
59
  child: TextField(
65
60
  controller: menuNameController,
66
- textAlign: TextAlign.center,
67
- decoration: InputDecoration(
68
- hintText: "メニュー名"
69
- ),
70
- style: TextStyle(fontSize: 18),
71
61
  onChanged: (text){
72
62
  setState(() {
73
63
  modRecipeName=text;