修复无法添加动态的问题

hmxc
小赖 4 years ago
parent bee4fe3387
commit d0cf1b61e2

@ -203,12 +203,13 @@ class _AddNewEventPageState extends State<AddNewEventPage> {
Divider(height: 1.w),
28.hb,
if (widget.initTopic == null) _pickTopic(),
Align(
alignment: Alignment.centerLeft,
child: _renderTopic(
HotTopicModel(name: widget.topicName, id: widget.initTopic),
if (widget.initTopic != null)
Align(
alignment: Alignment.centerLeft,
child: _renderTopic(
HotTopicModel(name: widget.topicName, id: widget.initTopic),
),
),
),
],
).material(color: Colors.white),
);

Loading…
Cancel
Save