kBaseButtonStyle top-level property
Button 内部使用的透明基础按钮样式。
Implementation
ButtonStyle kBaseButtonStyle = ButtonStyle(
tapTargetSize: MaterialTapTargetSize.shrinkWrap,
minimumSize: WidgetStateProperty.all(Size.zero),
padding: WidgetStateProperty.all(EdgeInsets.zero),
shadowColor: WidgetStateProperty.all(Colors.transparent),
elevation: WidgetStateProperty.all(0),
splashFactory: NoSplash.splashFactory,
overlayColor: WidgetStateProperty.all(Colors.transparent),
shape: WidgetStateProperty.all(
RoundedRectangleBorder(borderRadius: BorderRadius.circular(0)),
),
backgroundColor: WidgetStateProperty.all(Colors.transparent),
);