FlenxServer constructor
FlenxServer({
- required SeoConfig seo,
- required RouteRegistry registry,
- required PageResolver resolvePage,
- required Component notFound,
- List<
ApiEndpoint> apis = const [], - DbExecutor? db,
- EmailSender? onEmail,
- TokenVerifier? tokenVerifier,
- List<
StyleRule> styleRules = const [], - List<
String> rawStyles = const [], - List<
Component> headExtra = const [], - List<
Component> floatingButtons = const [], - List<
String> preloadImages = const [], - bool emitHtaccess = true,
- String lang = 'pt-BR',
- String flutterBootstrap = 'flutter_bootstrap.js?cb=1',
Implementation
FlenxServer({
required this.seo,
required this.registry,
required this.resolvePage,
required this.notFound,
this.apis = const [],
this.db,
this.onEmail,
this.tokenVerifier,
this.styleRules = const [],
this.rawStyles = const [],
this.headExtra = const [],
this.floatingButtons = const [],
this.preloadImages = const [],
this.emitHtaccess = true,
this.lang = 'pt-BR',
this.flutterBootstrap = 'flutter_bootstrap.js?cb=1',
});