-
buildBtnFD({required bool isAvailable, required BoxDecoration decoration, required BorderRadius borderRadius, Color textColor = Colors.white, GestureTapCallback? onTap})
→ Widget
-
Available on String,
provided by the ButtonExt extension
-
buildSelectItem({required BoxDecoration decoration, double? height, bool isSelected = false, Color textColor = Colors.white, double? textSize, GestureTapCallback? onTap, EdgeInsetsGeometry? padding})
→ Widget
-
Available on String,
provided by the ButtonExt extension
-
buttonElev(void onPressed(), {double? width, double? height, int? textSize, Color? textColor, Color? backgroundColor, double? radius, VoidCallback? onLongPress, bool removeShadow = false})
→ Widget
-
Available on String,
provided by the ButtonExt extension
填充主题色, 按钮文字为白色
backgroundColor
背景填充色,没有则用主题色
-
buttonGradient(Gradient gradient, VoidCallback? onPressed, {double? width, double? height, double? textSize, double? radius, Color textColor = Colors.white, VoidCallback? onLongPress, Widget? child})
→ Widget
-
Available on String,
provided by the ButtonExt extension
渐变色按钮
-
buttonOut(void onPressed(), {double? width, double? height, int? textSize, Color textColor = const Color(0xFF333333)})
→ Widget
-
Available on String,
provided by the ButtonExt extension
镂空按钮
-
buttonOutRound(void onPressed(), {double? width, double? height, int? textSize, double? borderWidth, double? borderRadius, Color? borderColor, Color textColor = Colors.white, Color bgColor = Colors.transparent})
→ Widget
-
Available on String,
provided by the ButtonExt extension
镂空按钮 圆角