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
bdbe53be
Unverified
Commit
bdbe53be
authored
Nov 25, 2017
by
Devon Carew
Committed by
GitHub
Nov 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused constants (#13199)
parent
16738248
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
0 additions
and
21 deletions
+0
-21
color_testing_demo.dart
dev/manual_tests/lib/color_testing_demo.dart
+0
-2
sections.dart
examples/flutter_gallery/lib/demo/animation/sections.dart
+0
-1
slider.dart
packages/flutter/lib/src/cupertino/slider.dart
+0
-1
bottom_navigation_bar.dart
packages/flutter/lib/src/material/bottom_navigation_bar.dart
+0
-2
bottom_sheet.dart
packages/flutter/lib/src/material/bottom_sheet.dart
+0
-2
checkbox.dart
packages/flutter/lib/src/material/checkbox.dart
+0
-1
material.dart
packages/flutter/lib/src/material/material.dart
+0
-2
snack_bar.dart
packages/flutter/lib/src/material/snack_bar.dart
+0
-2
tabs.dart
packages/flutter/lib/src/material/tabs.dart
+0
-1
text_field.dart
packages/flutter/lib/src/material/text_field.dart
+0
-3
editable.dart
packages/flutter/lib/src/rendering/editable.dart
+0
-2
test_text_input.dart
packages/flutter_test/lib/src/test_text_input.dart
+0
-2
No files found.
dev/manual_tests/lib/color_testing_demo.dart
View file @
bdbe53be
...
...
@@ -14,8 +14,6 @@ class ColorTestingDemo extends StatelessWidget {
Widget
build
(
BuildContext
context
)
=>
new
ColorDemoHome
();
}
const
double
_kPageMaxWidth
=
500.0
;
class
ColorDemoHome
extends
StatelessWidget
{
@override
Widget
build
(
BuildContext
context
)
{
...
...
examples/flutter_gallery/lib/demo/animation/sections.dart
View file @
bdbe53be
...
...
@@ -10,7 +10,6 @@ const Color _mariner = const Color(0xFF3B5F8F);
const
Color
_mediumPurple
=
const
Color
(
0xFF8266D4
);
const
Color
_tomato
=
const
Color
(
0xFFF95B57
);
const
Color
_mySin
=
const
Color
(
0xFFF3A646
);
const
Color
_deepCerise
=
const
Color
(
0xFFD93F9B
);
const
String
_kGalleryAssetsPackage
=
'flutter_gallery_assets'
;
...
...
packages/flutter/lib/src/cupertino/slider.dart
View file @
bdbe53be
...
...
@@ -179,7 +179,6 @@ class _CupertinoSliderRenderObjectWidget extends LeafRenderObjectWidget {
}
const
double
_kPadding
=
8.0
;
const
double
_kTrackHeight
=
2.0
;
const
Color
_kTrackColor
=
const
Color
(
0xFFB5B5B5
);
const
double
_kSliderHeight
=
2.0
*
(
CupertinoThumbPainter
.
radius
+
_kPadding
);
const
double
_kSliderWidth
=
176.0
;
// Matches Material Design slider.
...
...
packages/flutter/lib/src/material/bottom_navigation_bar.dart
View file @
bdbe53be
...
...
@@ -16,8 +16,6 @@ import 'material.dart';
import
'theme.dart'
;
import
'typography.dart'
;
const
double
_kActiveMaxWidth
=
168.0
;
const
double
_kInactiveMaxWidth
=
96.0
;
const
double
_kActiveFontSize
=
14.0
;
const
double
_kInactiveFontSize
=
12.0
;
const
double
_kTopMargin
=
6.0
;
...
...
packages/flutter/lib/src/material/bottom_sheet.dart
View file @
bdbe53be
...
...
@@ -14,8 +14,6 @@ import 'theme.dart';
const
Duration
_kBottomSheetDuration
=
const
Duration
(
milliseconds:
200
);
const
double
_kMinFlingVelocity
=
700.0
;
const
double
_kCloseProgressThreshold
=
0.5
;
const
Color
_kTransparent
=
const
Color
(
0x00000000
);
const
Color
_kBarrierColor
=
Colors
.
black54
;
/// A material design bottom sheet.
///
...
...
packages/flutter/lib/src/material/checkbox.dart
View file @
bdbe53be
...
...
@@ -151,7 +151,6 @@ class _CheckboxRenderObjectWidget extends LeafRenderObjectWidget {
}
}
const
double
_kMidpoint
=
0.5
;
const
double
_kEdgeSize
=
Checkbox
.
width
;
const
Radius
_kEdgeRadius
=
const
Radius
.
circular
(
1.0
);
const
double
_kStrokeWidth
=
2.0
;
...
...
packages/flutter/lib/src/material/material.dart
View file @
bdbe53be
...
...
@@ -277,8 +277,6 @@ class _MaterialState extends State<Material> with TickerProviderStateMixin {
}
}
const
Duration
_kHighlightFadeDuration
=
const
Duration
(
milliseconds:
200
);
class
_RenderInkFeatures
extends
RenderProxyBox
implements
MaterialInkController
{
_RenderInkFeatures
({
RenderBox
child
,
...
...
packages/flutter/lib/src/material/snack_bar.dart
View file @
bdbe53be
...
...
@@ -15,8 +15,6 @@ import 'theme_data.dart';
// https://material.google.com/components/snackbars-toasts.html#snackbars-toasts-specs
const
double
_kSnackBarPadding
=
24.0
;
const
double
_kSingleLineVerticalPadding
=
14.0
;
const
double
_kMultiLineVerticalTopPadding
=
24.0
;
const
double
_kMultiLineVerticalSpaceBetweenTextAndButtons
=
10.0
;
const
Color
_kSnackBackground
=
const
Color
(
0xFF323232
);
// TODO(ianh): We should check if the given text and actions are going to fit on
...
...
packages/flutter/lib/src/material/tabs.dart
View file @
bdbe53be
...
...
@@ -22,7 +22,6 @@ import 'theme.dart';
const
double
_kTabHeight
=
46.0
;
const
double
_kTextAndIconTabHeight
=
72.0
;
const
double
_kMinTabWidth
=
72.0
;
const
double
_kMaxTabWidth
=
264.0
;
/// A material design [TabBar] tab. If both [icon] and [text] are
/// provided, the text is displayed below the icon.
...
...
packages/flutter/lib/src/material/text_field.dart
View file @
bdbe53be
...
...
@@ -14,9 +14,6 @@ import 'theme.dart';
export
'package:flutter/services.dart'
show
TextInputType
;
const
Duration
_kTransitionDuration
=
const
Duration
(
milliseconds:
200
);
const
Curve
_kTransitionCurve
=
Curves
.
fastOutSlowIn
;
/// A material design text field.
///
/// A text field lets the user enter text, either with hardware keyboard or with
...
...
packages/flutter/lib/src/rendering/editable.dart
View file @
bdbe53be
...
...
@@ -18,8 +18,6 @@ const double _kCaretGap = 1.0; // pixels
const
double
_kCaretHeightOffset
=
2.0
;
// pixels
const
double
_kCaretWidth
=
1.0
;
// pixels
final
String
_kZeroWidthSpace
=
new
String
.
fromCharCode
(
0x200B
);
/// Signature for the callback that reports when the user changes the selection
/// (including the cursor location).
///
...
...
packages/flutter_test/lib/src/test_text_input.dart
View file @
bdbe53be
...
...
@@ -9,8 +9,6 @@ import 'package:flutter/services.dart';
import
'widget_tester.dart'
;
const
String
_kTextInputClientChannel
=
'flutter/textinputclient'
;
/// A testing stub for the system's onscreen keyboard.
///
/// Typical app tests will not need to use this class directly.
...
...
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