theme_tailor_annotation 1.1.1 copy "theme_tailor_annotation: ^1.1.1" to clipboard
theme_tailor_annotation: ^1.1.1 copied to clipboard

Annotations for the Theme Tailor code-generator. This package does nothing without Theme Tailor.

example/example.dart

// ignore_for_file: unused_element

import 'package:theme_tailor_annotation/theme_tailor_annotation.dart';

@tailor
class _$MyTheme {
  /// Declared properties
  // List<Color> surface = [Colors.white, Colors.black];
}

@Tailor(themes: ['superLight'])
class _$MyTheme2 {
  /// Declared properties
  // List<Color> surface = [Colors.white];
}

/// ThemeGetter can be used to generate additional extension to access theme from
/// * BuildContext
/// * ThemeData
@Tailor(themeGetter: ThemeGetter.none)
class _$MyTheme3 {
  /// Declared properties
  // List<Color> surface = [Colors.white, Colors.black];
}
13
likes
0
pub points
93%
popularity

Publisher

verified publisheriteo.com

Annotations for the Theme Tailor code-generator. This package does nothing without Theme Tailor.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (LICENSE)

Dependencies

collection, meta

More

Packages that depend on theme_tailor_annotation