PageState class
PageState is the state of the tree
Constructors
- 
          PageState({required bool isPage, required ComponentFit fit, NodeID? nodeComponentID, List<CNode> nodes = const [], bool isDeviceCurrentlyFocused = true, bool isDeviceCurrentlyHovered = true, Map<ID, CubitEntity> cubits = const {}, Map<ID, ControllerVariable> controllers = const {}, Map<ID, Parameter> parameters = const {}, Map<ID, ComponentParameterField> passedParameterFromTopComponent = const {}, SupabaseClient createCMSClient()?, SupabaseClient createSupabaseClient()?, SupabaseClient? internalCmsClient, SupabaseClient? internalSupabaseClient})
- 
          Constructor
forPlayis true when we are in Play Modeparamsis the list of params of the Scaffoldstatesis the list of states of the Scaffolddatasetis the list of dataset created by other widgets inside the same pagepageIdis the id of the pageisPageis true if this is a page, false if it is a componentcolorStylesis the list of color stylestextStylesis the list of text styleslocalizationis the localization object theme is the theme objectdeviceInfois the device info objectworkflowsis the list of workflowsconfigis the project config objectnodeOverridesis the list of node overridesfitis the fit of the componentconst
Properties
- 
  controllers
  → Map<ID, ControllerVariable> 
- 
  
  final
- createCMSClient → SupabaseClient Function()?
- 
  
  final
- createSupabaseClient → SupabaseClient Function()?
- 
  
  final
- 
  cubits
  → Map<ID, CubitEntity> 
- 
  
  final
- fit → ComponentFit
- 
  
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- isDeviceCurrentlyFocused → bool
- 
  
  final
- isDeviceCurrentlyHovered → bool
- 
  
  final
- isPage → bool
- 
  Is this a page or a component?
  final
- nodeComponentID → NodeID?
- 
  
  final
- 
  nodes
  → List<CNode> 
- 
  Nodes
  final
- 
  parameters
  → Map<ID, Parameter> 
- 
  
  final
- 
  passedParameterFromTopComponent
  → Map<ID, ComponentParameterField> 
- 
  
  final
- 
  props
  → List<Object?> 
- 
  The list of properties that will be used to determine whether
two instances are equal.
  no setter
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- stringify → bool?
- 
  If set to true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited
Methods
- 
  copyWith({int? loop, bool? isVertical, bool? isPage, Nodes? nodes, List< int> ? xLines, List<int> ? yLines, ComponentFit? fit, NodeID? nodeComponentID, bool? isDeviceCurrentlyFocused, bool? isDeviceCurrentlyHovered, Map<ID, CubitEntity> ? cubits, Map<ID, ControllerVariable> ? controllers, Map<ID, Parameter> ? parameters, Map<ID, ComponentParameterField> ? passedParameterFromTopComponent, SupabaseClient createCMSClient()?, SupabaseClient createSupabaseClient()?, SupabaseClient? cmsClient, SupabaseClient? supabaseClient}) → PageState
- 
  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