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
09cf84d9
Commit
09cf84d9
authored
Nov 26, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move RenderTogglable to material.dart
Fixes #219
parent
77cf420a
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
8 deletions
+6
-8
material.dart
packages/flutter/lib/material.dart
+1
-0
rendering.dart
packages/flutter/lib/rendering.dart
+0
-1
checkbox.dart
packages/flutter/lib/src/material/checkbox.dart
+1
-0
switch.dart
packages/flutter/lib/src/material/switch.dart
+1
-0
toggleable.dart
packages/flutter/lib/src/material/toggleable.dart
+1
-7
basic_types.dart
packages/flutter/lib/src/rendering/basic_types.dart
+2
-0
No files found.
packages/flutter/lib/material.dart
View file @
09cf84d9
...
...
@@ -54,6 +54,7 @@ export 'src/material/theme_data.dart';
export
'src/material/time_picker.dart'
;
export
'src/material/time_picker_dialog.dart'
;
export
'src/material/title.dart'
;
export
'src/material/toggleable.dart'
;
export
'src/material/tool_bar.dart'
;
export
'src/material/typography.dart'
;
...
...
packages/flutter/lib/rendering.dart
View file @
09cf84d9
...
...
@@ -27,7 +27,6 @@ export 'src/rendering/proxy_box.dart';
export
'src/rendering/shifted_box.dart'
;
export
'src/rendering/stack.dart'
;
export
'src/rendering/statistics_box.dart'
;
export
'src/rendering/toggleable.dart'
;
export
'src/rendering/view.dart'
;
export
'src/rendering/viewport.dart'
;
...
...
packages/flutter/lib/src/material/checkbox.dart
View file @
09cf84d9
...
...
@@ -9,6 +9,7 @@ import 'package:flutter/widgets.dart';
import
'colors.dart'
;
import
'theme.dart'
;
import
'toggleable.dart'
;
const
double
_kMidpoint
=
0.5
;
const
double
_kEdgeSize
=
18.0
;
...
...
packages/flutter/lib/src/material/switch.dart
View file @
09cf84d9
...
...
@@ -12,6 +12,7 @@ import 'package:flutter/widgets.dart';
import
'radial_reaction.dart'
;
import
'shadows.dart'
;
import
'theme.dart'
;
import
'toggleable.dart'
;
const
Color
_kThumbOffColor
=
const
Color
(
0xFFFAFAFA
);
const
Color
_kTrackOffColor
=
const
Color
(
0x42000000
);
...
...
packages/flutter/lib/src/
rendering
/toggleable.dart
→
packages/flutter/lib/src/
material
/toggleable.dart
View file @
09cf84d9
...
...
@@ -4,13 +4,7 @@
import
'package:flutter/animation.dart'
;
import
'package:flutter/gestures.dart'
;
import
'binding.dart'
;
import
'box.dart'
;
import
'object.dart'
;
import
'proxy_box.dart'
;
typedef
void
ValueChanged
<
T
>(
T
value
);
import
'package:flutter/rendering.dart'
;
const
Duration
_kToggleDuration
=
const
Duration
(
milliseconds:
200
);
...
...
packages/flutter/lib/src/rendering/basic_types.dart
View file @
09cf84d9
...
...
@@ -14,3 +14,5 @@ export 'dart:ui' show
Size
,
TransferMode
,
VoidCallback
;
typedef
void
ValueChanged
<
T
>(
T
value
);
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