PinCodeTextFieldOpenNode constructor

PinCodeTextFieldOpenNode({
  1. required NodeID id,
  2. NodeID? parentID,
  3. CNode? child,
  4. List<CNode>? children,
  5. String? name,
  6. String? description,
  7. double? childOrder,
  8. Map<String, dynamic>? attributes,
  9. RectProperties? rectProperties,
  10. DateTime? updatedAt,
  11. PageID? pageID,
  12. NodeID? stabilID,
  13. PageID? componentID,
  14. List<CNode>? componentChildren,
  15. bool? isLocked,
  16. List<String>? requiredAttributes,
})

Implementation

PinCodeTextFieldOpenNode({
  required final NodeID id,
  final NodeID? parentID,
  final CNode? child,
  final List<CNode>? children,
  final String? name,
  final String? description,
  final double? childOrder,
  final Map<String, dynamic>? attributes,
  final RectProperties? rectProperties,
  final DateTime? updatedAt,
  final PageID? pageID,
  final NodeID? stabilID,
  final PageID? componentID,
  final List<CNode>? componentChildren,
  final bool? isLocked,
  final List<String>? requiredAttributes,
}) : super(
        id: id,
        type: PCTFType.pinCodeTextField,
        name: name ?? 'Google Maps',
        parentID: parentID,
        intrinsicState: const PinCodeIntrinsicStates(),
        defaultAttributes: const PinCodeTextFieldDefaultAttributes().get,
        attributes: attributes ?? {},
        rectProperties: rectProperties ?? CNode.defaultRProperties,
        adapter: PinCodeTextFieldAdapter(),
        description: description,
        childOrder: childOrder ?? 0,
        child: child,
        children: children,
        updatedAt: updatedAt ?? DateTime.now(),
        pageID: pageID ?? '',
        stabilID: stabilID,
        componentID: componentID,
        isLocked: isLocked ?? false,
        requiredAttributes: requiredAttributes ??
            const PinCodeTextFieldDefaultAttributes()
                .requiredAttributes(PCTFType.pinCodeTextField),
      );