NiceOrganizationChart constructor

const NiceOrganizationChart({
  1. Key? key,
  2. required NiceOrgNode root,
  3. double nodeWidth = 160,
  4. double nodeHeight = 70,
  5. double horizontalSpacing = 20,
  6. double verticalSpacing = 40,
  7. void onNodeTap(
    1. NiceOrgNode node
    )?,
})

Implementation

const NiceOrganizationChart({
  super.key,
  required this.root,
  this.nodeWidth = 160,
  this.nodeHeight = 70,
  this.horizontalSpacing = 20,
  this.verticalSpacing = 40,
  this.onNodeTap,
});