buildElevatedButtonWidget property
Widget
get
buildElevatedButtonWidget
Implementation
Widget get buildElevatedButtonWidget => Container(
height: height ?? 50.v,
width: width ?? double.maxFinite,
margin: margin,
decoration: decoration,
child: ElevatedButton(
style: buttonStyle,
onPressed: isDisabled ?? false ? null : onTap ?? () {},
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
leftIcon ?? const SizedBox.shrink(),
Text(
text,
style:
buttonTextStyle ?? CustomTextStyles.titleMediumBlack90018,
),
rightIcon ?? const SizedBox.shrink(),
],
),
),
);