AppFractal constructor

AppFractal({
  1. bool? onlyAuthorized,
  2. bool hideAppBar = false,
  3. Color? color,
  4. bool? isGated,
  5. bool enableTerminal = false,
  6. required String name,
  7. EventFractal? to,
  8. NodeFractal<EventFractal>? extend,
})

Implementation

AppFractal({
  //this.mainGate,
  //this.auths = const [],
  //this.actions = const [],
  bool? onlyAuthorized,
  //this.createProfileFields = const ['first_name', 'last_name', 'email'],
  //this.repoUrl,
  this.hideAppBar = false,
  Color? color,
  //this.screens = const [],
  bool? isGated,
  this.enableTerminal = false,
  required super.name,
  super.to,
  super.extend,
})  : onlyAuthorized = onlyAuthorized ?? defaultOnlyAuthorized,
      isGated = isGated ?? defaultOnlyAuthorized,
      color = color ?? defaultColor {
  _construct();
}