FlutterBuilder class

Class that builds a Flutter application.

This class abstracts the process of building a Flutter application using the flutter build command. The application is built in the mode specified by buildMode.

The verbose parameter allows to control the verbosity of the command. If true, the flutter build command will be executed with the --verbose flag and the output will be printed to the console. If false, the command will be executed with the --quiet flag and the output will be silent.

Constructors

FlutterBuilder(BuildMode buildMode, {bool verbose = false})
Creates a new instance of FlutterBuilder.

Properties

buildMode BuildMode
The build mode to use when building the Flutter application.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verbose bool
Whether the flutter build command should be executed with the --verbose flag.
final

Methods

buildApp() Future<int>
Builds the Flutter application.
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