LangIconWithToolTip constructor

const LangIconWithToolTip({
  1. Key? key,
  2. String? langCode,
  3. String toolTipPrefix = '',
  4. double? radius,
  5. int useNLettersInsteadOfIcon = 0,
  6. ShapeBorder? shape = const CircleBorder(eccentricity: 0),
  7. Widget? child,
  8. LocaleName? localeNameFlag,
  9. bool useEmoji = false,
  10. MultiLangCountries multiLangCountries = MultiLangCountries.auto,
  11. bool multiLangForceAll = false,
  12. double specialFlagsPadding = 3.5,
  13. MultiLangBuilder? multiLangWidget,
})

Implementation

const LangIconWithToolTip({
  super.key,
  this.langCode,
  this.toolTipPrefix = '',
  this.radius,
  this.useNLettersInsteadOfIcon = 0,
  this.shape = const CircleBorder(eccentricity: 0),
  this.child,
  this.localeNameFlag,
  this.useEmoji = false,
  this.multiLangCountries = MultiLangCountries.auto,
  this.multiLangForceAll = false,
  this.specialFlagsPadding = 3.5,
  this.multiLangWidget,
})  : assert(langCode != null || localeNameFlag != null),
      assert(!useEmoji || (useEmoji == (useNLettersInsteadOfIcon == 0)));