RtlWidgetFinder class
The main finder class which will use dart analyzer to analyse all dart files in the given basePath and look for string literals. Some literals will be (smartly) ignored which should not be localized.
Constructors
-
RtlWidgetFinder({required String basePath, required List<
ExcludePathChecker> excludePaths})
Properties
- basePath → String
-
Base path of the library.
final
-
excludePaths
→ List<
ExcludePathChecker> -
Paths which should be ignored. Usually something like `l10n/' to ignore
the actual translation files.
final
-
filesAnalyzed
→ Set<
String> -
final
-
filesSkipped
→ Set<
String> -
final
-
foundRtlWidgets
→ List<
FoundRtlWidget> -
final
- 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
-
start(
) → Future< List< FoundRtlWidget> > - Starts the analyser and returns information about the found string literals.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited