@@ -279,7 +279,7 @@ class CardCollectionState extends State<CardCollection> {
|
||||
],
|
||||
flexibleSpace: (_) {
|
||||
return new Container(
|
||||
padding: const EdgeDims.only(left: 72.0),
|
||||
padding: const EdgeInsets.only(left: 72.0),
|
||||
height: 128.0,
|
||||
child: new Align(
|
||||
alignment: const FractionalOffset(0.0, 0.75),
|
||||
@@ -304,7 +304,7 @@ class CardCollectionState extends State<CardCollection> {
|
||||
color: _primaryColor[cardModel.color],
|
||||
child: new Container(
|
||||
height: cardModel.height,
|
||||
padding: const EdgeDims.all(kCardMargins),
|
||||
padding: const EdgeInsets.all(kCardMargins),
|
||||
child: _editable ?
|
||||
new Center(
|
||||
child: new Input(
|
||||
@@ -367,7 +367,7 @@ class CardCollectionState extends State<CardCollection> {
|
||||
bottom: 0.0,
|
||||
left: 0.0,
|
||||
child: new Container(
|
||||
margin: const EdgeDims.all(4.0),
|
||||
margin: const EdgeInsets.all(4.0),
|
||||
child: new Viewport(
|
||||
child: new Container(
|
||||
height: cardModel.height,
|
||||
@@ -428,7 +428,7 @@ class CardCollectionState extends State<CardCollection> {
|
||||
}
|
||||
|
||||
Widget body = new Container(
|
||||
padding: const EdgeDims.symmetric(vertical: 12.0, horizontal: 8.0),
|
||||
padding: const EdgeInsets.symmetric(vertical: 12.0, horizontal: 8.0),
|
||||
decoration: new BoxDecoration(backgroundColor: _primaryColor[50]),
|
||||
child: cardCollection
|
||||
);
|
||||
|
||||
@@ -25,7 +25,7 @@ class ExampleDragTargetState extends State<ExampleDragTarget> {
|
||||
builder: (BuildContext context, List<Color> data, List<Color> rejectedData) {
|
||||
return new Container(
|
||||
height: 100.0,
|
||||
margin: new EdgeDims.all(10.0),
|
||||
margin: new EdgeInsets.all(10.0),
|
||||
decoration: new BoxDecoration(
|
||||
border: new Border.all(
|
||||
width: 3.0,
|
||||
|
||||
@@ -143,7 +143,7 @@ class _WindowState extends State<Window> {
|
||||
color: Colors.blue[200]
|
||||
),
|
||||
new Container(
|
||||
padding: const EdgeDims.all(_kWindowPadding),
|
||||
padding: const EdgeInsets.all(_kWindowPadding),
|
||||
child: new Material(
|
||||
elevation: 8,
|
||||
child: new ChildView(child: config.child)
|
||||
|
||||
@@ -144,7 +144,7 @@ class OverlayGeometryAppState extends State<OverlayGeometryApp> {
|
||||
color: cardModel.color,
|
||||
child: new Container(
|
||||
height: cardModel.height,
|
||||
padding: const EdgeDims.all(8.0),
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: new Center(child: new Text(cardModel.label, style: cardLabelStyle))
|
||||
)
|
||||
)
|
||||
@@ -156,7 +156,7 @@ class OverlayGeometryAppState extends State<OverlayGeometryApp> {
|
||||
new Scaffold(
|
||||
toolBar: new ToolBar(center: new Text('Tap a Card')),
|
||||
body: new Container(
|
||||
padding: const EdgeDims.symmetric(vertical: 12.0, horizontal: 8.0),
|
||||
padding: const EdgeInsets.symmetric(vertical: 12.0, horizontal: 8.0),
|
||||
child: new ScrollableMixedWidgetList(
|
||||
builder: builder,
|
||||
token: cardModels.length,
|
||||
|
||||
@@ -46,7 +46,7 @@ class PageableListAppState extends State<PageableListApp> {
|
||||
child: new Container(
|
||||
width: cardModel.size.width,
|
||||
height: cardModel.size.height,
|
||||
padding: const EdgeDims.all(8.0),
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: new Center(child: new Text(cardModel.label, style: cardLabelStyle))
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user