import 'package:stacked/stacked.dart'; import 'package:stacked_services/stacked_services.dart'; import 'package:yimaru_app/app/app.router.dart'; import '../../../app/app.locator.dart'; class LearnLevelViewModel extends BaseViewModel { final _navigationService = locator(); final List> _learnSubLevels = [ { 'title': 'A1', 'current': true, 'subtitle': 'Start your journey with the basics of English.', }, { 'title': 'A2', 'current': false, 'subtitle': 'Build upon your foundational knowledge.', }, ]; List> get learnSubLevels => _learnSubLevels; Future navigateToLearnModule() async => _navigationService.navigateToLearnModuleView(); void pop() => _navigationService.back(); }