build method
페이지 하단용 여백을 적용한 기본 버튼을 빌드한다.
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)),
);
}