FutureServer constructor
FutureServer({
- Key? key,
- String host = '0.0.0.0',
- int port = 8080,
- String? certificateChain,
- 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,
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,
);