Flexible bidirectional self-powered photodetector with significantly reduced volume and accelerated response speed based on hydrogel and lift-off GaN-based nanowires