prev_btn.dart 429 B

12345678910111213141516
  1. part of 'control_board.dart';
  2. class _PrevButton extends StatelessWidget {
  3. final playerController = Get.find<IPlayerController>() as VidPlayerController;
  4. @override
  5. Widget build(BuildContext context) {
  6. return IconButton(
  7. splashRadius: 2,
  8. padding: EdgeInsets.zero,
  9. onPressed: () {
  10. playerController.gotoPrevFrame();
  11. },
  12. icon: const Icon(Icons.arrow_circle_left_outlined),
  13. );
  14. }
  15. }