DNLabel constructor
const
DNLabel({
- Key? key,
- required String text,
- Widget? child,
- EdgeInsetsGeometry padding = const EdgeInsets.all(0.0),
- EdgeInsetsGeometry? contentPadding,
- EdgeInsetsGeometry margin = const EdgeInsets.only(bottom: 20.0),
- List<
Widget> actions = const [], - double fontSize = 14.0,
- FontWeight fontWeight = FontWeight.w400,
- double spacing = 8.0,
레이블 텍스트와 내용, 액션 및 간격을 설정한다.
Implementation
const DNLabel({
super.key,
required this.text,
this.child,
this.padding = const EdgeInsets.all(0.0),
this.contentPadding,
this.margin = const EdgeInsets.only(bottom: 20.0),
this.actions = const [],
this.fontSize = 14.0,
this.fontWeight = FontWeight.w400,
this.spacing = 8.0,
});