style method

TextField style(
  1. TextStyle? style
)

A modifier that sets its Text's style.

Example:

TextField()
    .style(TextStyle(color: Colors.blue));

Implementation

TextField style(TextStyle? style) {
  return this._rebase(style: style);
}