set afterRender(String? Function(GroupType groupType, String htmlString)? callback) => _afterRenderCallback = callback;