applyTheme method

Widget applyTheme(
  1. ThemeData themeData
)

Applies a Theme with custom ThemeData to the widget.

Implementation

Widget applyTheme(ThemeData themeData) {
  return Theme(
    data: themeData,
    child: this,
  );
}