ViewConfig class

Configuration for view engine settings.

This class controls how templates are loaded and rendered by the view engine.

Constructors

ViewConfig({String viewPath = 'views', bool cache = true})
Creates a view configuration with the given settings.
const

Properties

cache → bool
Whether to cache compiled templates.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
viewPath → String
The base directory for view templates.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited