CPDFPushButtonWidget class forms
Push button form widget.
A button form field that extends CPDFWidget.
Key properties:
- buttonTitle: The displayed caption for the button.
- action: Optional action associated with this button.
- Text appearance: fontColor, fontSize, familyName, styleName.
Serialization:
- Use CPDFPushButtonWidget.fromJson to create an instance from a JSON map.
- Use toJson to convert this instance to a JSON map.
- Inheritance
-
- Object
- CPDFWidget
- CPDFPushButtonWidget
Constructors
- CPDFPushButtonWidget({required String title, required int page, required CPDFRectF rect, required Color borderColor, required Color fillColor, String uuid = '', DateTime? createDate, double borderWidth = 2, required String buttonTitle, CPDFAction? action, Color fontColor = Colors.black, double fontSize = 20, String familyName = 'Helvetica', String styleName = 'Regular'})
-
CPDFPushButtonWidget.fromJson(Map<
String, dynamic> json) -
factory
Properties
- action ↔ CPDFAction?
-
getter/setter pair
- borderColor ↔ Color
-
getter/setter pairinherited
- borderWidth ↔ double
-
getter/setter pairinherited
-
getter/setter pair
- createDate → DateTime?
-
finalinherited
- familyName ↔ String
-
getter/setter pair
- fillColor ↔ Color
-
getter/setter pairinherited
- fontColor ↔ Color
-
getter/setter pair
- fontSize ↔ double
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- page → int
-
finalinherited
- rect → CPDFRectF
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleName ↔ String
-
getter/setter pair
- title ↔ String
-
getter/setter pairinherited
- type → CPDFFormType
-
finalinherited
- uuid → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited