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
                       ));
        }
Exemple #2
0
 public abstract Widget builder(BuildContext context, ParameterGetter getter, float t);
Exemple #3
0
        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));
        }
Exemple #4
0
 public abstract Widget buildWithProgress(BuildContext context, List <float> progress, ParameterGetter getter, float t);