Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
f1967485
Unverified
Commit
f1967485
authored
Oct 01, 2018
by
Jonah Williams
Committed by
GitHub
Oct 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move doc comment back (#22525)
parent
f62afdcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
localizations.dart
packages/flutter/lib/src/cupertino/localizations.dart
+12
-13
No files found.
packages/flutter/lib/src/cupertino/localizations.dart
View file @
f1967485
...
...
@@ -173,19 +173,6 @@ abstract class CupertinoLocalizations {
/// This function will deal with pluralization based on the `second` parameter.
String
timerPickerSecondLabel
(
int
second
);
/// The `CupertinoLocalizations` from the closest [Localizations] instance
/// that encloses the given context.
///
/// This method is just a convenient shorthand for:
/// `Localizations.of<CupertinoLocalizations>(context, CupertinoLocalizations)`.
///
/// References to the localized resources defined by this class are typically
/// written in terms of this method. For example:
///
/// ```dart
/// CupertinoLocalizations.of(context).anteMeridiemAbbreviation;
/// ```
/// The term used for cutting
String
get
cutButtonLabel
;
...
...
@@ -198,6 +185,18 @@ abstract class CupertinoLocalizations {
/// The term used for selecting everything
String
get
selectAllButtonLabel
;
/// The `CupertinoLocalizations` from the closest [Localizations] instance
/// that encloses the given context.
///
/// This method is just a convenient shorthand for:
/// `Localizations.of<CupertinoLocalizations>(context, CupertinoLocalizations)`.
///
/// References to the localized resources defined by this class are typically
/// written in terms of this method. For example:
///
/// ```dart
/// CupertinoLocalizations.of(context).anteMeridiemAbbreviation;
/// ```
static
CupertinoLocalizations
of
(
BuildContext
context
)
{
return
Localizations
.
of
<
CupertinoLocalizations
>(
context
,
CupertinoLocalizations
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment