theme property
ThemeData
get
theme
Returns this context's SDK Material theme via Theme.of.
Migration notice: this supported getter uses
package:flutter/material.dart, not standalone material_ui types.
Deprecation is planned after a stable standalone SINT replacement; see the
migration guide.
Implementation
ThemeData get theme => Theme.of(this);