mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
Fix spelling errors in dartdocs (#7997)
Fix the spelling errors in the dartdocs for the engine. There are no functionality changes here, just documentation fixes.
This commit is contained in:
@@ -144,7 +144,7 @@ class _WidgetCallSiteTransformer extends Transformer {
|
||||
/// locations of the parameters passed in from the source location of the
|
||||
/// constructor call but it is convenient to bundle the location and names
|
||||
/// of the parameters passed in so that tools can show parameter locations
|
||||
/// without reparsing the source code.
|
||||
/// without re-parsing the source code.
|
||||
ConstructorInvocation _constructLocation(
|
||||
Location location, {
|
||||
String name,
|
||||
@@ -399,7 +399,7 @@ class WidgetCreatorTracker implements ProgramTransformer {
|
||||
new VariableGet(variable),
|
||||
));
|
||||
// TODO(jacobr): add an assert verifying the locationField is not
|
||||
// null. Curently we cannot safely add this assert because we do not
|
||||
// null. Currently, we cannot safely add this assert because we do not
|
||||
// handle Widget classes with optional positional arguments. There are
|
||||
// no Widget classes in the flutter repo with optional positional
|
||||
// arguments but it is possible users could add classes with optional
|
||||
|
||||
Reference in New Issue
Block a user