文案ok
This commit is contained in:
@@ -12,7 +12,7 @@ class PlanFormCard extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _PlanFormCardState extends State<PlanFormCard> {
|
||||
final TextEditingController _inputController = TextEditingController(text: "刷牙");
|
||||
final TextEditingController _inputController = TextEditingController(text: "");
|
||||
|
||||
void _handSubmit() {
|
||||
if (_inputController.text.isEmpty) {
|
||||
@@ -36,7 +36,7 @@ class _PlanFormCardState extends State<PlanFormCard> {
|
||||
top: 56,
|
||||
child: SizedBox(
|
||||
height: 100,
|
||||
child: Image.asset("assets/image/xiaozhi.png"),
|
||||
child: Image.asset("assets/image/kbn.png"),
|
||||
),
|
||||
),
|
||||
Container(
|
||||
@@ -48,14 +48,14 @@ class _PlanFormCardState extends State<PlanFormCard> {
|
||||
children: [
|
||||
Container(
|
||||
margin: EdgeInsets.only(bottom: 20),
|
||||
child: Text("有什么事情你一直在拖延?"),
|
||||
child: Text("What have you been putting off?"),
|
||||
),
|
||||
TextField(
|
||||
controller: _inputController,
|
||||
style: Theme.of(context).textTheme.bodyMedium,
|
||||
maxLength: 40,
|
||||
decoration: InputDecoration(
|
||||
hintText: "我躺在床上听歌",
|
||||
hintText: "Clean the kitchen",
|
||||
fillColor: Theme.of(context).colorScheme.surfaceContainerLow,
|
||||
filled: true,
|
||||
enabledBorder: OutlineInputBorder(
|
||||
@@ -83,7 +83,7 @@ class _PlanFormCardState extends State<PlanFormCard> {
|
||||
border: Border.all(color: Colors.black, width: 1.5),
|
||||
),
|
||||
child: Text(
|
||||
"创建计划",
|
||||
"Create Plan",
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w700,
|
||||
|
||||
Reference in New Issue
Block a user