showActivity method Null safety

void showActivity(
  1. bool show
)

Show activity.