Skip to content

Commit

Permalink
Fix the documentation for UiKitView#creationParams (flutter#31619)
Browse files Browse the repository at this point in the history
It looks like the documentation for UiKitView has been copy-pasted from AndroidView or so.
This PR fixes the word 'Android' to 'iOS' for the `creationParams`.
  • Loading branch information
DmitriyZaitsev authored and goderbauer committed Apr 29, 2019
1 parent 9d16b84 commit 8e66c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/widgets/platform_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ class UiKitView extends StatefulWidget {

/// Passed as the `arguments` argument of [-\[FlutterPlatformViewFactory createWithFrame:viewIdentifier:arguments:\]](/objcdoc/Protocols/FlutterPlatformViewFactory.html#/c:objc(pl)FlutterPlatformViewFactory(im)createWithFrame:viewIdentifier:arguments:)
///
/// This can be used by plugins to pass constructor parameters to the embedded Android view.
/// This can be used by plugins to pass constructor parameters to the embedded iOS view.
final dynamic creationParams;

/// The codec used to encode `creationParams` before sending it to the
Expand Down

0 comments on commit 8e66c53

Please sign in to comment.