public override Widget builder(BuildContext context, ParameterGetter getter, float t) { TextStyle _style = (TextStyle)getter("text style", t); Color _color = (Color)getter("color", t); return(new TextBox( text, style: _style, color: _color, textAlign: textAlign, maxLines: maxLines, maxWidth: maxWidth, maxHeight: maxHeight, minWidth: minWidth, minHeight: minHeight, padding: padding, decoration: decoration )); }
public abstract Widget builder(BuildContext context, ParameterGetter getter, float t);
public override Widget builder(BuildContext context, ParameterGetter getter, float t) { List <float> progresses = (parameters["progress"] as FloatListProperty).evaluate(t); return(buildWithProgress(context, progresses, getter, t)); }
public abstract Widget buildWithProgress(BuildContext context, List <float> progress, ParameterGetter getter, float t);