Commit 97083ac6 authored by Hans Muller's avatar Hans Muller Committed by GitHub

Export DecorationPosition, use it in ListItem (#8427)

parent 09b63e2c
...@@ -157,6 +157,7 @@ class ListItem extends StatelessWidget { ...@@ -157,6 +157,7 @@ class ListItem extends StatelessWidget {
Widget item = iterator.current; Widget item = iterator.current;
while (iterator.moveNext()) { while (iterator.moveNext()) {
yield new DecoratedBox( yield new DecoratedBox(
position: DecorationPosition.foreground,
decoration: new BoxDecoration( decoration: new BoxDecoration(
border: new Border( border: new Border(
bottom: new BorderSide(color: dividerColor), bottom: new BorderSide(color: dividerColor),
......
...@@ -20,6 +20,7 @@ export 'package:flutter/rendering.dart' show ...@@ -20,6 +20,7 @@ export 'package:flutter/rendering.dart' show
CrossAxisAlignment, CrossAxisAlignment,
CustomClipper, CustomClipper,
CustomPainter, CustomPainter,
DecorationPosition,
FlexFit, FlexFit,
FlowDelegate, FlowDelegate,
FlowPaintingContext, FlowPaintingContext,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment