Skip to content

Commit

Permalink
TDButton允许自定义圆角
Browse files Browse the repository at this point in the history
  • Loading branch information
Luozf12345 committed Jan 25, 2024
1 parent 2876777 commit bdfc43f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ class TDButtonStyle {
Color? textColor;
/// 边框宽度
double? frameWidth;
/// 自定义圆角
BorderRadiusGeometry? radius;

TDButtonStyle(
{this.backgroundColor,
this.frameColor,
this.textColor,
this.frameWidth,});
this.frameWidth,
this.radius});

/// 生成不同主题的填充按钮样式
TDButtonStyle.generateFillStyleByTheme(
Expand Down

0 comments on commit bdfc43f

Please sign in to comment.