discontinuedPackage responsive_config has been discontinued.

ResponsiveConfigGenerator class

Generator for responsive_config library. Generates responsive code for classes annotated with ResponsiveConfig.

Constructors

ResponsiveConfigGenerator(BuilderOptions options)
Default constructor for ResponsiveConfigGenerator.

Properties

hashCode → int
The hash code for this object.
no setterinherited
options → BuilderOptions
Options for the ResponsiveConfigGenerator. Can be provided directly to the ResponsiveConfig annotation or specified in the build.yaml file.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
typeChecker → TypeChecker
no setterinherited

Methods

generate(LibraryReader library, BuildStep buildStep) → FutureOr<String>
Generates Dart code for an input Dart library.
inherited
generateForAnnotatedElement(Element element, ConstantReader annotation, BuildStep buildStep) → dynamic
Implement to return source code to generate for element.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited