Dart frogs can swim just not very well. They tire easily and can drown. If your looking at an aquatic set up why not look at frogs that are more suited to that environment like firebelly toads. If you insist on darts slope the sides of all edges of the water where they could easily just walk out. Easy access out of the water would be vital.