DeltaAttributesOptions class
Contains all custom properties that we want in our delta Use this with together delta processor to add properties more easily without format all delta
Constructors
- DeltaAttributesOptions({required double fontSize, required bool bold, required bool italic, required bool underline, required double lineSpacing, required bool strikethrough, required String? align, String fontFamily = "Arial", int? hexColor, int? hexBackgroundColor, String? link, int indent = -1})
- DeltaAttributesOptions.common({bool? bold, bool? italic, bool? underline, bool? automaticIndent, int? hexColor, int? hexBackgroundColor, String? rgbBackground, String? fontFamily, String? align, double? lineSpacing, double? fontSize})
-
factory
Properties
- align ↔ String?
-
getter/setter pair
- bold ↔ bool
-
getter/setter pair
- fontFamily ↔ String
-
getter/setter pair
- fontSize ↔ double
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hexBackgroundColor ↔ int?
-
getter/setter pair
- hexColor ↔ int?
-
getter/setter pair
- indent ↔ int
-
getter/setter pair
- italic ↔ bool
-
getter/setter pair
- lineSpacing ↔ double
-
getter/setter pair
- link ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strikethrough ↔ bool
-
getter/setter pair
- underline ↔ bool
-
getter/setter pair
Methods
-
copyWith(
{double? fontSize, bool? bold, bool? italic, bool? underline, bool? automaticIndent, String? fontFamily, int? hexColor, int? hexBackgroundColor, double? lineSpacing, bool? strikethrough, String? link, String? align, int? indent}) → DeltaAttributesOptions -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited