Widget getBottomView(Function(int type) onTap) { return buttonOrLabel == 1 ? _getBtn(onTap) : _getLabel(); }