SimpleTag constructor
Constructors a tag.
output
- used to generate Dart code into the generated Dart file. You can use outText and toEL to generate the Dart code. Theid
argument is the first argument if it doesn't have a value. For example, with[:tag foo1 foo2="abc"]
,id
will befoo1
andargs
will be a single entity map. If the first argument is specified with a value,id
is null and the first argument is part ofargs
.- idFirst: whether ID can be the first argument
- stringFirst: whether string can be the first argument
Implementation
SimpleTag(this.name, this.output,
{this.idFirst = true, this.stringFirst = true});