extensions/static/ds_shelf_static_handler library

Functions

createStaticFileHandler(String directory, {bool useHeaderBytesForContentType = false, String? defaultDocument, bool listDirectories = false}) → Handler
Creates a Shelf handler that serves static files from a directory.