LangIconWithToolTip.forIconBuilder constructor
const
LangIconWithToolTip.forIconBuilder(
- LocaleName? localeNameFlag,
- bool _, {
- Key? key,
- String toolTipPrefix = '',
- double? radius,
- int useNLettersInsteadOfIcon = 0,
- ShapeBorder? shape = const CircleBorder(eccentricity: 0),
- Widget? child,
- String? langCode,
- bool useEmoji = false,
- MultiLangCountries multiLangCountries = MultiLangCountries.auto,
- bool multiLangForceAll = false,
- double specialFlagsPadding = 3.5,
- MultiLangBuilder? multiLangWidget,
Just a shortcut to use as tear-off in builders of widgets that generate lists of elements.
See example for LocaleSwitcher.custom.
Implementation
const LangIconWithToolTip.forIconBuilder(
this.localeNameFlag,
bool _, {
super.key,
this.toolTipPrefix = '',
this.radius,
this.useNLettersInsteadOfIcon = 0,
this.shape = const CircleBorder(eccentricity: 0),
this.child,
this.langCode,
this.useEmoji = false,
this.multiLangCountries = MultiLangCountries.auto,
this.multiLangForceAll = false,
this.specialFlagsPadding = 3.5,
this.multiLangWidget,
});