1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| DecoratedBox( decoration: BoxDecoration( border: new Border.all(color: Colors.black54, width: 0.5), color: Colors.greenAccent, shape: BoxShape.rectangle, borderRadius: BorderRadius.circular(12.0), ), child: Container( padding: EdgeInsets.all(12), child: Text("内容"), ), )
DecoratedBox( decoration: BoxDecoration( border: new Border.all(color: Colors.black54, width: 0.5), color: Colors.greenAccent, shape: BoxShape.circle, ), child: Container( padding: EdgeInsets.all(12), child: Text("内容"), ), )
|