13 lines
247 B
Dart
13 lines
247 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class TabPlayCourseProvider with ChangeNotifier {
|
|
int _currentIndex = 0;
|
|
|
|
int get currentIndex => _currentIndex;
|
|
|
|
set currentIndex(int index) {
|
|
_currentIndex = index;
|
|
notifyListeners();
|
|
}
|
|
}
|