1
0
mirror of https://github.com/stonega/tsacdop synced 2025-02-03 00:47:33 +01:00
2020-05-07 00:50:32 +08:00

24 lines
512 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;
notifyListeners();
}
ImportState get importState => _importState;
set importState(ImportState state){
if(_importState != state)
{_importState = state;
notifyListeners();
}
}
}