TranslationButton constructor
const
TranslationButton({
- Key? key,
- String reason = "bottom_sheet",
- bool ignorePointer = false,
- BoxDecoration? decoration,
- EdgeInsets? padding,
- TranslationButtonType type = TranslationButtonType.flagAndCode,
- bool markAsDefault = false,
- TextStyle? textStyle,
- Widget builder(
- BuildContext context,
- String text
- ValueChanged<
Locale> ? onChanged,
Implementation
const TranslationButton({
super.key,
this.reason = "bottom_sheet",
this.ignorePointer = false,
this.decoration,
this.padding,
this.type = TranslationButtonType.flagAndCode,
this.markAsDefault = false,
this.textStyle,
this.builder,
this.onChanged,
});