添加报事报修页面按钮移到bottomNavition

hmxc
小赖 4 years ago
parent 30e2a1f760
commit 616797033f

@ -2,6 +2,7 @@
import 'dart:io';
// Flutter imports:
import 'package:akuCommunity/widget/buttons/bottom_button.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
@ -222,9 +223,9 @@ class _AddFixedSubmitPageState extends State<AddFixedSubmitPage> {
_addImages(),
],
).expand(),
MaterialButton(
minWidth: double.infinity,
height: 98.w,
],
),
bottomNavi: BottomButton(
onPressed: _canSubmit(_selectType, _textEditingController.text)
? () async {
List<String> urls = await NetUtil()
@ -240,14 +241,6 @@ class _AddFixedSubmitPageState extends State<AddFixedSubmitPage> {
BotToast.showText(text: '请填写完整报修信息!');
},
child: '确认提交'.text.black.bold.size(32.sp).make(),
color: kPrimaryColor,
elevation: 0,
)
.box
.padding(EdgeInsets.only(
bottom: MediaQuery.of(context).padding.bottom))
.make()
],
),
);
}

@ -6,7 +6,6 @@ import 'package:flutter/material.dart';
import 'package:velocity_x/velocity_x.dart';
// Project imports:
import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/const/resource.dart';
import 'package:akuCommunity/utils/headers.dart';

Loading…
Cancel
Save