next_btn.dart 476 B

12345678910111213141516171819
  1. part of 'control_board.dart';
  2. class _NextButton 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.gotoNextFrame();
  11. },
  12. icon: const Icon(
  13. Icons.arrow_circle_right_outlined,
  14. color: Colors.white,
  15. ),
  16. );
  17. }
  18. }