RawFile class

The RawFile Widget enables you to generate your own Files right in the Widget tree. Here you can define your own file extension, the file path and the content.

Inheritance

Constructors

RawFile(String name, String content, {String path = '/', bool inheritFolder = true})
The RawFile Widget enables you to generate your own Files right in the Widget tree. Here you can define your own file extension, the file path and the content.

Properties

content String
final
hashCode int
The hash code for this object.
no setterinherited
inheritFolder bool
final
name String
final
path String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fullPath([Path? p]) Path
generate(Context context) Widget
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → dynamic
inherited
toString() String
A string representation of this object.
inherited

Operators

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