backToPicker method

Future<void> backToPicker()

Implementation

Future<void> backToPicker() async {
  _selectedFiles.clear();
  _pickerMode = false;
  pickerPageController = PageController(initialPage: 1);
  update();
  await pageController.animateToPage(0,
      duration: const Duration(milliseconds: 500), curve: Curves.easeIn);
  selectedAlbum = null;
  update();
}