CustomizationBuilders class
A set of builders for customizing the appearance and behavior of a country code selection view.
Constructors
-
CustomizationBuilders({Widget codeBuilder(CountryCode code)?, Widget codeSeparatorBuilder(BuildContext context, int index)?, Widget textFieldBuilder(void filter(String filterText)?)?, Widget countryListBuilder(List<
CountryCode> codes, ScrollController? controller)?, EdgeInsets countryListPadding = const EdgeInsets.all(0), EdgeInsets searchFieldPadding = const EdgeInsets.only(top: 16, left: 16, bottom: 8, right: 16), Color backgroundColor()?}) -
const
Properties
- backgroundColor → Color Function()?
-
It will override backgroundColor provided by widget.
final
- codeBuilder → Widget Function(CountryCode code)?
-
Default DefaultCountryCodeListItemView
final
- codeSeparatorBuilder → Widget Function(BuildContext context, int index)?
-
Used for separate country list items.
final
-
countryListBuilder
→ Widget Function(List<
CountryCode> codes, ScrollController? controller)? -
If you want to use the default country code view, use DefaultCountryCodeListItemView.
final
- countryListPadding → EdgeInsets
-
Country code list padding
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchFieldPadding → EdgeInsets
-
Search country ext field padding
final
- textFieldBuilder → Widget Function(void filter(String filterText)?)?
-
Customize the text field as desired.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited