getRawText method

Text getRawText({
  1. BuildContext? context,
})

获取系统原始Text,以便使用到只能接收系统Text组件的地方 转化为系统原始Text后,将失去padding和background属性

Implementation

Text getRawText({BuildContext? context}) {
  return _getRawText(context: context, backgroundColor: backgroundColor);
}