CPDFWidgetUtil class util
Utility methods for working with PDF form widgets.
This class currently provides helpers for generating unique and readable form field names for different widget types.
The generated field name is composed of:
- The widget type name (capitalized)
- An underscore (
_) - A timestamp using the local time in the format:
yyyyMMdd HH:mm:ss.SSS
Example output:
TextField_20260123 14:05:33.127
This is useful when creating fields programmatically and you need a stable, human-friendly name that is unlikely to collide.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Methods
-
createFieldName(
CPDFFormType widgetType) → String