FutureServer constructor

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

Implementation

FutureServer({
  Key? key,
  String host = '0.0.0.0',
  int port = 8080,
  String? certificateChain,
  bool shared = true,
  String? privateKey,
  String? password,
  bool cors = false,
  String corsUrl = '*',
  Widget? onNotFound,
  bool useLog = true,
  bool isLogEnable = true,
  String? jwtKey,
  Widget? home,
  Bindings? initialBinding,
  List<GetPage>? futurePages,
  bool? useHive,
  String? hivePath,
  RegisterHives? registerHives,
  OpenBoxex? openBoxex,
  required Map<String, dynamic> auth,
}) : super(
        key: key,
        host: host,
        port: port,
        certificateChain: certificateChain,
        shared: shared,
        privateKey: privateKey,
        password: password,
        cors: cors,
        corsUrl: corsUrl,
        onNotFound: onNotFound,
        useLog: useLog,
        isLogEnable: isLogEnable,
        jwtKey: jwtKey,
        home: home,
        initialBinding: initialBinding,
        getPages: futurePages,
        useHive: useHive ?? false,
        hivePath: hivePath,
        registerHives: registerHives,
        openBoxex: openBoxex,
        auth: auth,
      );