tsacdop-podcast-app-android/lib/class/importompl.dart

23 lines
489 B
Dart

import 'package:flutter/foundation.dart';
enum ImportState{start, import, parse, complete, stop, error}
class ImportOmpl extends ChangeNotifier{
ImportState _importState = ImportState.stop;
String _rssTitle;
String get rsstitle => _rssTitle;
set rssTitle(String title){
_rssTitle = title;
}
ImportState get importState => _importState;
set importState(ImportState state){
if(_importState != state)
{_importState = state;
notifyListeners();
}
}
}