space.dart 750 B

123456789101112131415161718192021222324252627282930
  1. import 'package:fis_lib_report/report/inlineElement.dart';
  2. import 'package:fis_lib_report/report/interfaces/line.dart';
  3. import 'package:fis_lib_report/report/rt_border.dart';
  4. import 'package:fis_lib_report/report/rt_color.dart';
  5. import 'package:fis_lib_report/report/shape.dart';
  6. import 'package:flutter/foundation.dart';
  7. class Space extends InlineElement implements ILine {
  8. @override
  9. RTColor? stroke;
  10. @override
  11. double? thickness;
  12. @override
  13. RTBorderStyle? borderStyle;
  14. @override
  15. double? width;
  16. double? spaceWidth;
  17. int? spaceUnitCount = 0;
  18. Space.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
  19. width = json['Width'];
  20. spaceUnitCount = json['SpaceUnitCount'];
  21. spaceWidth = json['SpaceWidth'];
  22. }
  23. }