| Index: sky/sdk/lib/framework/components2/drawer.dart
|
| diff --git a/sky/sdk/lib/framework/components2/drawer.dart b/sky/sdk/lib/framework/components2/drawer.dart
|
| index 7cffcf892dc583d48aa7dbcb182715c1e057566c..ca5d79f4a95c2bd19131523cbdcb10863a06231d 100644
|
| --- a/sky/sdk/lib/framework/components2/drawer.dart
|
| +++ b/sky/sdk/lib/framework/components2/drawer.dart
|
| @@ -13,6 +13,19 @@ import 'dart:sky' as sky;
|
| import 'material.dart';
|
| import 'package:vector_math/vector_math.dart';
|
|
|
| +// TODO(eseidel): Draw width should vary based on device size:
|
| +// http://www.google.com/design/spec/layout/structure.html#structure-side-nav
|
| +
|
| +// Mobile:
|
| +// Width = Screen width − 56 dp
|
| +// Maximum width: 320dp
|
| +// Maximum width applies only when using a left nav. When using a right nav,
|
| +// the panel can cover the full width of the screen.
|
| +
|
| +// Desktop/Tablet:
|
| +// Maximum width for a left nav is 400dp.
|
| +// The right nav can vary depending on content.
|
| +
|
| const double _kWidth = 304.0;
|
| const double _kMinFlingVelocity = 0.4;
|
| const double _kBaseSettleDurationMS = 246.0;
|
|
|