appTheme top-level constant

AppTheme const appTheme

Annotation to be given to the theme of the application.

Granting this will create the assets and font data defined in pubspec.yaml in the target application theme.

アプリのテーマに対して付与するアノテーション。

これを付与することで対象となるアプリテーマにpubspec.yamlで定義されているアセットとフォントのデータが作成されます。

@appTheme
final theme = AppThemeData();

Implementation

const appTheme = AppTheme();