pull/1566/head
parent
039e3193d9
commit
35a9502d7e
31 changed files with 212 additions and 294 deletions
@ -1,28 +1,28 @@ |
||||
import 'package:equatable/equatable.dart'; |
||||
import 'package:meta/meta.dart' show experimental, immutable; |
||||
// import 'package:equatable/equatable.dart'; |
||||
// import 'package:meta/meta.dart' show experimental, immutable; |
||||
|
||||
@immutable |
||||
@experimental |
||||
class QuillAnimationConfigurations extends Equatable { |
||||
const QuillAnimationConfigurations({ |
||||
required this.checkBoxPointItem, |
||||
}); |
||||
// @immutable |
||||
// @experimental |
||||
// class QuillAnimationConfigurations extends Equatable { |
||||
// const QuillAnimationConfigurations({ |
||||
// required this.checkBoxPointItem, |
||||
// }); |
||||
|
||||
factory QuillAnimationConfigurations.disableAll() => |
||||
const QuillAnimationConfigurations( |
||||
checkBoxPointItem: false, |
||||
); |
||||
// factory QuillAnimationConfigurations.disableAll() => |
||||
// const QuillAnimationConfigurations( |
||||
// checkBoxPointItem: false, |
||||
// ); |
||||
|
||||
factory QuillAnimationConfigurations.enableAll() => |
||||
const QuillAnimationConfigurations( |
||||
checkBoxPointItem: true, |
||||
); |
||||
// factory QuillAnimationConfigurations.enableAll() => |
||||
// const QuillAnimationConfigurations( |
||||
// checkBoxPointItem: true, |
||||
// ); |
||||
|
||||
/// This currently has issue which the whole checkbox list will rebuilt |
||||
/// and the animation will replay when some value changes |
||||
/// which is why disabled by default |
||||
final bool checkBoxPointItem; |
||||
// /// This currently has issue which the whole checkbox list will rebuilt |
||||
// /// and the animation will replay when some value changes |
||||
// /// which is why disabled by default |
||||
// final bool checkBoxPointItem; |
||||
|
||||
@override |
||||
List<Object?> get props => []; |
||||
} |
||||
// @override |
||||
// List<Object?> get props => []; |
||||
// } |
||||
|
Loading…
Reference in new issue