BaseConfiguration class
- Implementers
Constructors
-
BaseConfiguration({required String initialUrl, required List<
String> redirectUrls, ValueChanged<String> ? onSuccessRedirect, ValueChanged? onError, VoidCallback? onCancel, CertificateValidator? onCertificateValidate, Map<String, String> ? headers, Stream<String> ? urlStream, ThemeData? themeData, Map<String, String> ? textLocales, Locale? contentLocale, bool? goBackBtnVisible, bool? goForwardBtnVisible, bool? refreshBtnVisible, bool? clearCacheBtnVisible, bool? closeBtnVisible}) -
const
Properties
- backButtonTooltip → String?
-
no setter
- clearCacheBtnVisible → bool
-
final
- clearCacheButtonTooltip → String?
-
no setter
- clearCacheWarningMessage → String?
-
no setter
- closeBtnVisible → bool
-
final
- closeButtonTooltip → String?
-
no setter
- contentLocale → Locale?
-
Not available for Web
final
- forwardButtonTooltip → String?
-
no setter
- goBackBtnVisible → bool
-
final
- goForwardBtnVisible → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
Not available for Web
final
- initialUrl → String
-
final
- onCancel → VoidCallback?
-
This function will be called when user cancels authentication.
final
- onCertificateValidate → CertificateValidator?
-
This function will be called when
authorizationEndpointUrl
is first loaded. If false is returned then a CertificateException() will be thrown Not available for Webfinal - onError → ValueChanged?
-
This function will be called if any error occurs.
It will receive the error data which could be some Exception or Error
final
-
onSuccessRedirect
→ ValueChanged<
String> ? -
This function will be called when any of the redirectUrls is loaded in web view.
It will pass the url it causes redirect.
final
-
redirectUrls
→ List<
String> -
final
- refreshBtnVisible → bool
-
final
- reloadButtonTooltip → String?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
textLocales
→ Map<
String, String> ? -
Not available for Web
final
- themeData → ThemeData?
-
Not available for Web
final
-
urlStream
→ Stream<
String> ? -
Use this stream when you need to asynchronously navigate to a specific url
Not available for Web
final
Methods
-
copyWith(
{String? initialUrl, List< String> ? redirectUrls, ValueChanged<String> ? onSuccessRedirect, ValueChanged? onError, VoidCallback? onCancel, CertificateValidator? onCertificateValidate, Map<String, String> ? headers, Stream<String> ? urlStream, ThemeData? themeData, Map<String, String> ? textLocales, Locale? contentLocale, bool? goBackBtnVisible, bool? goForwardBtnVisible, bool? refreshBtnVisible, bool? clearCacheBtnVisible, bool? closeBtnVisible}) → BaseConfiguration -
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
Constants
- backButtonTooltipKey → const String
- clearCacheButtonTooltipKey → const String
- clearCacheWarningMessageKey → const String
- closeButtonTooltipKey → const String
- firstLoadHeroTag → const String
- forwardButtonTooltipKey → const String
- reloadButtonTooltipKey → const String