build method

  1. @override
Widget build(
  1. BuildContext context
)
override

페이지 하단용 여백을 적용한 기본 버튼을 빌드한다.

Implementation

@override
Widget build(BuildContext context) {
  return DNPrimaryButton(
    enabled: enabled,
    isPending: isPending,
    onPressed: onPressed,
    height: height,
    margin: padding,
    child:
        child ??
        Text(text ??
        MaterialLocalizations.of(context).okButtonLabel
        , style: TextStyle(fontSize: fontSize ?? 18)),
  );
}