RouteGenerator class
Generates a Flutter widget.
Constructors
-
RouteGenerator.new({required List<
String> routes, String routeFile = 'example/routes.dart'})
Properties
Methods
-
generate(
) → void - Generates the widget files.
-
getRouteCode(
) → String - Generates the code for a stateless widget.
-
insertPage(
String routesCode, String routeListString) → String -
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