FutureServerController constructor

FutureServerController({
  1. required String host,
  2. required int port,
  3. required String? certificateChain,
  4. required bool shared,
  5. required String? privateKey,
  6. required String? password,
  7. required bool cors,
  8. required String corsUrl,
  9. required Widget? onNotFound,
  10. required bool useLog,
  11. required bool isLogEnable,
  12. required String? jwtKey,
  13. required Widget? home,
  14. required Bindings? initialBinding,
  15. required List<GetPage>? getPages,
  16. required bool useHive,
  17. String? hivePath,
  18. RegisterHives? registerHives,
  19. OpenBoxex? openBoxex,
  20. required Map<String, dynamic> auth,
})

Implementation

FutureServerController({
  required this.host,
  required this.port,
  required this.certificateChain,
  required this.shared,
  required this.privateKey,
  required this.password,
  required this.cors,
  required this.corsUrl,
  required this.onNotFound,
  required this.useLog,
  required this.isLogEnable,
  required this.jwtKey,
  required this.home,
  required this.initialBinding,
  required this.getPages,
  required this.useHive,
  this.hivePath,
  this.registerHives,
  this.openBoxex,
  required this.auth,
}) : super(
        host: host,
        port: port,
        certificateChain: certificateChain,
        shared: shared,
        privateKey: privateKey,
        password: password,
        cors: cors,
        corsUrl: corsUrl,
        onNotFound: onNotFound,
        useLog: useLog,
        jwtKey: jwtKey,
        home: home,
        initialBinding: initialBinding,
        getPages: getPages,
      );