Initial commit: Penyerahan final Source code Tugas Akhir
This commit is contained in:
17
lib/providers/play_video_course_provider.dart
Normal file
17
lib/providers/play_video_course_provider.dart
Normal file
@ -0,0 +1,17 @@
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
class PlayVideoCourseProvider with ChangeNotifier {
|
||||
String _url = '';
|
||||
|
||||
String get url => _url;
|
||||
|
||||
set uri(String videoUrl) {
|
||||
_url = videoUrl;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
indexUri(String indexUri) {
|
||||
_url = indexUri;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user