修复无法添加动态的问题

hmxc
小赖 4 years ago
parent bee4fe3387
commit d0cf1b61e2

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

Loading…
Cancel
Save