ScaffoldOpenNode constructor
ScaffoldOpenNode({
- required NodeID id,
- NodeID? parentID,
- CNode? child,
- List<
CNode> ? children, - String? name,
- String? description,
- double? childOrder,
- Map<
String, dynamic> ? attributes, - RectProperties? rectProperties,
- DateTime? updatedAt,
- PageID? pageID,
- NodeID? stabilID,
- PageID? componentID,
- List<
CNode> ? componentChildren, - bool? isLocked,
- List<
String> ? requiredAttributes, - required Map<
String, dynamic> appBarAttributes, - required Map<
String, dynamic> bottomBarAttributes,
Implementation
ScaffoldOpenNode({
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,
required this.appBarAttributes,
required this.bottomBarAttributes,
}) : super(
id: id,
type: NType.scaffold,
name: name ?? 'Scaffold',
parentID: parentID,
intrinsicState: const ScaffoldIntrinsicStates(),
defaultAttributes: const ScaffoldDefaultAttributes().get,
attributes: attributes ?? {},
rectProperties: rectProperties ?? CNode.defaultRProperties,
adapter: ScaffoldAdapter(),
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 ScaffoldDefaultAttributes()
.requiredAttributes(NType.scaffold),
);