style method

Widget style(
  1. TextStyle style
)

Implementation

Widget style(TextStyle style) {
  return DefaultTextStyle(
    style: style,
    child: this,
  );
}