AutoFillHelper class

The main utility class that supports Faker & optional AI-powered data.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

autoFillWithAI({required Map<TextEditingController?, String> fields, required AutoFillMode mode, required AiTextClient aiClient, Map<String, String>? contextPerField}) Future<void>
fillControllers(Map<TextEditingController?, String Function()> mapping) → void
getAiImageFile({required AiTextClient aiClient, String? prompt, Duration timeout = const Duration(seconds: 25)}) Future<File>
getFakeImageFile() Future<File>
randomSelection<T>(List<T> items, {int min = 1}) List<T>
selectFirst<T>(List<T> items, {int count = 1}) List<T>