Widget _buildSwiper3Cell(BuildContext context) { // 屏幕宽度 var screenWidth = MediaQuery.of(context).size.width; return TDSwipeCell( groupTag: 'test', right: TDSwipeCellPanel( extentRatio: 180 / screenWidth, children: [ TDSwipeCellAction( flex: 60, backgroundColor: TDTheme.of(context).brandColor7, label: '保存', ), TDSwipeCellAction( flex: 60, backgroundColor: TDTheme.of(context).warningColor4, label: '编辑', ), TDSwipeCellAction( flex: 60, backgroundColor: TDTheme.of(context).errorColor6, label: '删除', ), ], ), cell: const TDCell( title: '左滑操作', note: '辅助信息', ), ); }