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
e63a6378
Unverified
Commit
e63a6378
authored
Jan 17, 2018
by
Hans Muller
Committed by
GitHub
Jan 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix dartdoc errors in generated localization code and RenderEditable (#14132)
parent
bc10fce4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
2 deletions
+34
-2
gen_date_localizations.dart
dev/tools/gen_date_localizations.dart
+2
-1
gen_localizations.dart
dev/tools/gen_localizations.dart
+2
-0
editable.dart
packages/flutter/lib/src/rendering/editable.dart
+25
-0
date_localizations.dart
...lutter_localizations/lib/src/l10n/date_localizations.dart
+3
-1
localizations.dart
...ges/flutter_localizations/lib/src/l10n/localizations.dart
+2
-0
No files found.
dev/tools/gen_date_localizations.dart
View file @
e63a6378
...
...
@@ -77,8 +77,9 @@ Future<Null> main(List<String> rawArgs) async {
// This file has been automatically generated. Please do not edit it manually.
// To regenerate run (omit -w to print to console instead of the file):
// dart --enable-asserts dev/tools/gen_date_localizations.dart -
w
// dart --enable-asserts dev/tools/gen_date_localizations.dart -
-overwrite
// ignore_for_file: public_member_api_docs
'''
);
buffer
.
writeln
(
'const Map<String, dynamic> dateSymbols = const <String, dynamic> {'
);
...
...
dev/tools/gen_localizations.dart
View file @
e63a6378
...
...
@@ -121,6 +121,8 @@ String generateTranslationBundles() {
// translationBundleForLocale() function to look up a const TranslationBundle
// instance for a locale.
// ignore_for_file: public_member_api_docs
import
\'
dart:ui
\'
show Locale;
class TranslationBundle {
...
...
packages/flutter/lib/src/rendering/editable.dart
View file @
e63a6378
...
...
@@ -570,6 +570,13 @@ class RenderEditable extends RenderBox {
Offset
_lastTapDownPosition
;
Offset
_longPressPosition
;
/// If [ignorePointer] is false (the default) then this method is called by
/// the internal gesture recognizer's [TapGestureRecognizer.onTapDown]
/// callback.
///
/// When [ignorePointer] is true, an ancestor widget must respond to tap
/// down events by calling this method.
void
handleTapDown
(
TapDownDetails
details
)
{
_lastTapDownPosition
=
details
.
globalPosition
+
-
_paintOffset
;
}
...
...
@@ -578,6 +585,12 @@ class RenderEditable extends RenderBox {
handleTapDown
(
details
);
}
/// If [ignorePointer] is false (the default) then this method is called by
/// the internal gesture recognizer's [TapGestureRecognizer.onTap]
/// callback.
///
/// When [ignorePointer] is true, an ancestor widget must respond to tap
/// events by calling this method.
void
handleTap
()
{
_layoutText
(
constraints
.
maxWidth
);
assert
(
_lastTapDownPosition
!=
null
);
...
...
@@ -593,6 +606,12 @@ class RenderEditable extends RenderBox {
handleTap
();
}
/// If [ignorePointer] is false (the default) then this method is called by
/// the internal gesture recognizer's [TapGestureRecognizer.onTapCancel]
/// callback.
///
/// When [ignorePointer] is true, an ancestor widget must respond to tap
/// cancel events by calling this method.
void
handleTapCancel
()
{
// longPress arrives after tapCancel, so remember the tap position.
_longPressPosition
=
_lastTapDownPosition
;
...
...
@@ -603,6 +622,12 @@ class RenderEditable extends RenderBox {
handleTapCancel
();
}
/// If [ignorePointer] is false (the default) then this method is called by
/// the internal gesture recognizer's [LongPressRecognizer.onLongPress]
/// callback.
///
/// When [ignorePointer] is true, an ancestor widget must respond to long
/// press events by calling this method.
void
handleLongPress
()
{
_layoutText
(
constraints
.
maxWidth
);
final
Offset
globalPosition
=
_longPressPosition
;
...
...
packages/flutter_localizations/lib/src/l10n/date_localizations.dart
View file @
e63a6378
...
...
@@ -4,7 +4,9 @@
// This file has been automatically generated. Please do not edit it manually.
// To regenerate run (omit -w to print to console instead of the file):
// dart --enable-asserts dev/tools/gen_date_localizations.dart -w
// dart --enable-asserts dev/tools/gen_date_localizations.dart --overwrite
// ignore_for_file: public_member_api_docs
const
Map
<
String
,
dynamic
>
dateSymbols
=
const
<
String
,
dynamic
>{
'ar'
:
const
<
String
,
dynamic
>{
...
...
packages/flutter_localizations/lib/src/l10n/localizations.dart
View file @
e63a6378
...
...
@@ -13,6 +13,8 @@
// translationBundleForLocale() function to look up a const TranslationBundle
// instance for a locale.
// ignore_for_file: public_member_api_docs
import
'dart:ui'
show
Locale
;
class
TranslationBundle
{
...
...
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