fix board detail page when title isEmpty

hmxc
小赖 4 years ago
parent 4f6c703b66
commit 761674a7fc

@ -28,7 +28,7 @@ class _NoticeDetailPageState extends State<NoticeDetailPage> {
); );
Widget docView(String title, String path) { Widget docView(String title, String path) {
if (title.isEmpty) return SizedBox(); if (title?.isEmpty??true) return SizedBox();
return Container( return Container(
margin: EdgeInsets.only(right: 113.w), margin: EdgeInsets.only(right: 113.w),
alignment: Alignment.centerLeft, alignment: Alignment.centerLeft,

Loading…
Cancel
Save