S2Tile<T> constructor
const
S2Tile<T> (
- {Key? key,
- required Widget value,
- required GestureTapCallback onTap,
- required Widget title,
- Widget? leading,
- Widget? trailing,
- String? loadingText,
- Widget? loadingMessage,
- Widget? loadingIndicator,
- bool isLoading = false,
- bool isError = false,
- bool isTwoLine = false,
- bool enabled = true,
- bool selected = false,
- bool dense = false,
- bool hideValue = false,
- EdgeInsetsGeometry? padding,
- Widget? body}
Create a default trigger widget
Implementation
const S2Tile({
Key? key,
required this.value,
required this.onTap,
required this.title,
this.leading,
this.trailing,
this.loadingText,
this.loadingMessage,
this.loadingIndicator,
this.isLoading = false,
this.isError = false,
this.isTwoLine = false,
this.enabled = true,
this.selected = false,
this.dense = false,
this.hideValue = false,
this.padding,
this.body,
}) : super(key: key);