NsgDatePicker constructor
const
NsgDatePicker({
- Key? key,
- required DateTime initialTime,
- required dynamic onClose(
- DateTime endDate
- DateTime? firstDateTime,
- DateTime? lastDateTime,
- String? label = '',
- Widget? labelWidget,
- TextAlign textAlign = TextAlign.center,
- bool? disabled = false,
- EdgeInsets margin = const EdgeInsets.symmetric(horizontal: 5, vertical: 5),
- bool simple = false,
Implementation
const NsgDatePicker({
Key? key,
required this.initialTime,
// this.textFormFieldType = TextFormFieldType.underlineInputBorder,
required this.onClose,
this.firstDateTime,
this.lastDateTime,
this.label = '',
this.labelWidget,
this.textAlign = TextAlign.center,
this.disabled = false,
this.margin = const EdgeInsets.symmetric(horizontal: 5, vertical: 5),
this.simple = false,
// this.outlineBorderColor,
// this.borderRadius,
// this.fieldColor,
// this.lableWidget,
// this.textStyle,
}) : super(key: key);