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