Lieb lattices and pseudospin-1 dynamics under barrier- and well-like electrostatic interactions