TodoLibData constructor
TodoLibData({
- double buttonHeight = 45,
- int clickInterceptInterval = 1000,
- double textSize = 14,
- Color placeholderColor = const Color(0xFFC7CCD5),
- Color inputTextColor = const Color(0xFF393C42),
- Color inputBackgroundColor = const Color(0xFFF6F7F9),
- ToastThemeData toastThemeData = const ToastThemeData(),
- String? fontFamily,
- List<
String> ? fontFamilyFallback, - Widget? loadingWidget,
- Map<
String, TextDelegate> ? textDelegates,
Implementation
TodoLibData({
this.buttonHeight = 45,
this.clickInterceptInterval = 1000,
this.textSize = 14,
this.placeholderColor = const Color(0xFFC7CCD5),
this.inputTextColor = const Color(0xFF393C42),
this.inputBackgroundColor = const Color(0xFFF6F7F9),
this.toastThemeData = const ToastThemeData(),
this.fontFamily,
this.fontFamilyFallback,
this.loadingWidget,
this.textDelegates,
}) {
textDelegates = _updateTextDelegates(textDelegates);
}