knt_ui library Null safety

Classes

AccessibilitySection
All the simulated accessibility settings.
AndroidBuildVersion
Version values of the current Android operating system build derived from android.os.Build.VERSION.
AndroidDeviceInfo
Information derived from android.os.Build.
AndroidDisplayMetrics
Details for the current display
AndroidWebView
Builds an Android webview.
AppReview
AssetBundlePictureKey
Key for the picture obtained by an AssetPicture or ExactAssetPicture.
AssetBundlePictureProvider
A subclass of PictureProvider that knows about AssetBundles.
AssetLoader
abstract class used to building your Custom AssetLoader Example:
BaseDeviceInfo
The base class for platform's device info.
Bidi
This provides utility methods for working with bidirectional text. All of the methods are static, and are organized into a class primarily to group them together for documentation and discoverability.
BidiFormatter
Bidi stands for Bi-directional text. According to Wikipedia: Bi-directional text is text containing text in both text directionalities, both right-to-left (RTL) and left-to-right (LTR). It generally involves text containing different types of alphabets, but may also refer to boustrophedon, which is changing text directionality in each row.
CacheCompatibilityTester
Tests whether a DrawableRoot should be cache invalidated given old and new external parameter changes.
CachedNetworkImage
Image widget to show NetworkImage with caching functionality.
CachedNetworkImageProvider
IO implementation of the CachedNetworkImageProvider; the ImageProvider to load network images using a cache.
CookieManager
Manages cookies pertaining to all WebViews.
CreationParams
Configuration to use when creating a new WebViewPlatformController.
CupertinoWebView
Builds an iOS webview.
CustomDeviceInfoData
Info about a device and its frame.
DashedLinePainter
DateFormat
DateFormat is for formatting and parsing dates in a locale-sensitive manner.
DefaultSvgTheme
The SVG theme to apply to descendant SvgPicture widgets which don't have explicit theme values.
DefinedSetting
DefinedUI
DeviceFrame
Simulate a physical device and embedding a virtual screen into it.
DeviceFrameStyle
The device frame style only allows to update the keyboardStyle for now.
DeviceFrameTheme
The theme gives a style to all its descentant device frames.
DeviceIdentifier
A unique identifier that represents a device.
DeviceInfo
Info about a device and its frame.
DeviceInfoPlugin
Provides device and operating system information.
DeviceInfoPlusLinuxPlugin
See DeviceInfoPlatform
DeviceInfoPlusWindowsPlugin
The Windows implementation of DeviceInfoPlatform.
DeviceKeyboardStyle
The keyboard style allows to customize the virtual onscreen keyboard visuals.
DevicePreview
Simulates how the result of builder would render on different devices.
DevicePreviewData
A DevicePreview configuration snapshot that can be serialized to be persisted between sessions.
DevicePreviewSettingsData
Settings of device preview itself (tool bar position, background style).
DevicePreviewState
Represents the current state of the device preview.
DevicePreviewStorage
A storage for device preview user's preferences.
DevicePreviewStore
The store is a container for the current state of the device preview.
Devices
A list of common device specifications sorted by target platform.
DeviceScreenshot
A screenshot from a preview.
DeviceSection
All the simulated properties for the device.
DottedScaleXWidget
DownloadProgress
Progress of the file that is being downloaded from the originalUrl.
Drawable
Base interface for vector drawing.
DrawableDefinitionServer
Contains reusable drawing elements that can be referenced by a String ID.
DrawableGradient
Basic information describing a gradient.
DrawableGroup
Represents a group of drawing elements that may share a common transform, stroke, or fill.
DrawableLinearGradient
Represents the data needed to create a Gradient.linear.
DrawablePaint
A wrapper class for Flutter's Paint class.
DrawableParent
A Drawable that can have child Drawables and DrawableStyle.
DrawableRadialGradient
Represents the information needed to create a Gradient.radial.
DrawableRasterImage
A raster image (e.g. PNG, JPEG, or GIF) embedded in the drawable.
DrawableRoot
The root element of a drawable.
DrawableShape
Represents a drawing element that will be rendered to the canvas.
DrawableStyle
Styling information for vector drawing.
DrawableStyleable
A Drawable that can have a DrawableStyle applied to it.
DrawableText
A Drawable for text objects.
DrawableTextStyle
A wrapper class for Flutter's TextStyle class.
DrawableViewport
Contains the viewport size and offset for a Drawable.
EasyLocalization
EasyLocalization example:
ExactAssetPicture
Fetches a picture from an AssetBundle, associating it with the given scale.
FetchedGalleryPhotosState
FileDevicePreviewStorage
A storage that saves device preview user preferences into a single file as json content.
FilePicture
Decodes the given File object as a picture, associating it with the given scale.
Fluttertoast
Plugin to show a toast message on screen Only for android, ios and Web platforms
FocusDetector
Fires callbacks every time the widget appears or disappears from the screen.
FToast
Runs on dart side this has no interaction with the Native Side Works with all platforms just in two lines of code final fToast = FToast().init(context) fToast.showToast(child)
GenericDesktopMonitorFramePainter
GenericLaptopFramePainter
GenericPhoneFramePainter
GenericTabletFramePainter
InAppReview
Intl
The Intl class provides a common entry point for internationalization related tasks. An Intl instance can be created for a particular locale and used to create a date format via anIntl.date(). Static methods on this class are also used in message formatting.
IosDeviceInfo
Information derived from UIDevice.
IosUtsname
Information derived from utsname. See http://pubs.opengroup.org/onlinepubs/7908799/xsh/sysutsname.h.html for details.
JavascriptChannel
A named channel for receiving messaged from JavaScript code running inside a web view.
JavascriptChannelRegistry
Utility class for managing named JavaScript channels and forwarding incoming messages on the correct channel.
JavascriptMessage
A message that was sent by JavaScript code running in a WebView.
KntAppBar
KntAppInfo
KntAppWrapper
KntBaseToolBar
KntBlackStatusBarPage
KntBottomNav
KntBottomNavScaffold
KntButton
KntCachedImage
KntChip
KntDashDivider
KntDefaultAppBar
KntDefaultExpandableAppBar
KntDefaultImage
KntDefaultIssuingWidget
KntDefaultToolBar
KntDivider
KntDraggablePanel
KntEditText
KntExpandableAppBar
KntExpandableSection
KntExpandableWidget
KntFullScreenInverseProgressBar
KntFullScreenProgressBar
KntGalleryPage
KntGalleryView
KntGeneralPicker<T>
KntImage
KntIssuingWidget
KntLocalImage
KntPhotoBrowserPage
KntProgressBar
KntRectangleProgress
KntRipple
KntSearchBar
KntSelectionPopup
KntSelectionPopupOption
KntSelectionPopupPresenter
KntSelectionPopupStyle
KntShimmer
KntSimpleButton
KntSimpleEditText
KntSimplePicker
KntStaggeredGallery
Staggered Gallery with default 2 styles
KntToolBar
KntUi
KntWebPage
KntWhiteStatusBarPage
LinuxDeviceInfo
Device information for a Linux system.
LoadedGalleryPhotosState
LoadGalleryPhotosEvent
MacOsDeviceInfo
Object encapsulating MACOS device information.
MemoryPicture
Decodes the given String buffer as a picture, associating it with the given scale.
MicroMoney
Used primarily for currency formatting, this number-like class stores millionths of a currency unit, typically as an Int64.
MultiImageStreamCompleter
An ImageStreamCompleter with support for loading multiple images.
NamedLocale
A locale that has a display name.
Information about a navigation action that is about to be executed.
NetworkPicture
Fetches the given URL from the network, associating it with the given scale.
NetworkPictureKeyData
The PictureKey.keyData for a NetworkPicture.
NoDevicePreviewStorage
A storage that keep preferences only in memory : they are reset on each fresh start of the app.
NumberFormat
Provides the ability to format a number in a locale-specific way.
OneFramePictureStreamCompleter
Manages the loading of dart:ui.Picture objects for static PictureStreams (those with only one frame).
PackageInfo
Application metadata. Provides application bundle information on iOS and application package information on Android.
PagingGalleryBloc
Photo
PhotoView
A StatefulWidget that contains all the photo view rendering elements.
PhotoViewComputedScale
A class that work as a enum. It overloads the operator * saving the double as a multiplier.
PhotoViewController
The default implementation of PhotoViewControllerBase.
PhotoViewControllerBase<T extends PhotoViewControllerValue>
The interface in which controllers will be implemented.
PhotoViewControllerValue
The state value stored and streamed by PhotoViewController.
PhotoViewGallery
A StatefulWidget that shows multiple PhotoView widgets in a PageView
PhotoViewGalleryPageOptions
A helper class that wraps individual options of a page in PhotoViewGallery
PhotoViewGestureDetectorScope
An InheritedWidget responsible to give a axis aware scope to PhotoViewGestureRecognizer.
PhotoViewHeroAttributes
Data class that holds the attributes that are going to be passed to PhotoViewImageWrapper's Hero.
PhotoViewScaleStateController
A controller responsible only by scaleState.
PictureConfiguration
Configuration information passed to the PictureProvider.resolve method to select a specific picture.
PictureHandle
An opaque handle used by PictureInfo to track the lifecycle of a Picture.
PictureInfo
Represents information about a ui.Picture to be drawn on a canvas.
PictureKey<T>
An immutable key representing the current state of a PictureProvider.
PictureProvider<T, U>
Identifies a picture without committing to the precise final asset. This allows a set of pictures to be identified and for the precise picture to later be resolved based on the environment, e.g. the device pixel ratio.
PictureStream
A handle to an image resource.
PictureStreamCompleter
Base class for those that manage the loading of dart:ui.Picture objects for PictureStreams.
PreferencesDevicePreviewStorage
Since share_preferences makes pub considering the package as not supported we should remove this functionnality from the web version to get the maximum score.
RebuildFactors
REdgeInsets
REdgeInsetsDirectional
RenderSliverStaggeredGrid
A sliver that places multiple box children in a two dimensional arrangement.
RenderSliverVariableSizeBoxAdaptor
A sliver with multiple variable size box children.
RenderSliverVariableSizeBoxChildManager
A delegate used by RenderSliverVariableSizeBoxAdaptor to manage its children.
RingPainter
RootBundleAssetLoader
default used is RootBundleAssetLoader which uses flutter's assetloader
RPadding
RSizedBox
ScaleYWidget
ScreenUtil
ScreenUtilInit
SettingsSection
All the settings for customizing the preview.
Share
Plugin for summoning a platform share sheet.
Shimmer
A widget renders shimmer effect over child widget tree.
SliverStaggeredGrid
A sliver that places multiple box children in a two dimensional arrangement.
SliverStaggeredGridDelegate
Creates staggered grid layouts.
SliverStaggeredGridDelegateWithFixedCrossAxisCount
Creates staggered grid layouts with a fixed number of cells in the cross axis.
SliverStaggeredGridDelegateWithMaxCrossAxisExtent
Creates staggered grid layouts with tiles that each have a maximum cross-axis extent.
SliverStaggeredGridGeometry
Describes the placement of a child in a RenderSliverStaggeredGrid.
SliverVariableSizeBoxAdaptorElement
An element that lazily builds children for a SliverVariableSizeBoxAdaptorWidget.
SliverVariableSizeBoxAdaptorParentData
Parent data structure used by RenderSliverVariableSizeBoxAdaptor.
SliverVariableSizeBoxAdaptorWidget
A base class for sliver that have multiple variable size box children.
SpinKitChasingDots
SpinKitCircle
SpinKitCubeGrid
SpinKitDancingSquare
SpinKitDoubleBounce
SpinKitDualRing
SpinKitFadingCircle
SpinKitFadingCube
SpinKitFadingFour
SpinKitFadingGrid
SpinKitFoldingCube
SpinKitHourGlass
SpinKitPianoWave
SpinKitPouringHourGlass
SpinKitPouringHourGlassRefined
SpinKitPulse
SpinKitPumpCurve
SpinKitPumpingHeart
SpinKitRing
SpinKitRingCurve
SpinKitRipple
SpinKitRotatingCircle
SpinKitRotatingPlain
SpinKitSpinningCircle
SpinKitSpinningLines
SpinKitSquareCircle
SpinKitThreeBounce
SpinKitThreeInOut
SpinKitWanderingCubes
SpinKitWave
SpinningLinesPainter
StaggeredGridConfiguration
Specifies how a staggered grid is configured.
StaggeredGridView
A scrollable, 2D array of widgets with variable sizes.
StaggeredTile
Holds the dimensions of a StaggeredGridView's tile.
StringPicture
Decodes the given String as a picture, associating it with the given scale.
SurfaceAndroidWebView
Android WebViewPlatform that uses AndroidViewSurface to build the WebView widget.
Svg
A utility class for decoding SVG data to a DrawableRoot or a PictureInfo.
SvgPicture
A widget that will parse SVG data into a Picture using a PictureProvider.
SvgTheme
A theme used when decoding an SVG picture.
SystemSection
All the simulated system settings.
TabIcon
TextDirection
Represents directionality of text.
ToastStateFulState
State for _ToastStateFul
ToolPanelSection
A Sliver representing a section in the DevicePreview menu.
VirtualKeyboard
Display a simulated on screen keyboard at the bottom of a child widget.
WebBrowserInfo
Information derived from navigator.
WebResourceError
Error returned in WebView.onWebResourceError when a web resource loading error has occurred.
WebSetting<T>
A single setting for configuring a WebViewPlatform which may be absent.
WebSettings
Settings for configuring a WebViewPlatform.
WebView
A web view widget for showing html content.
WebViewConfiguration
Additional configuration options for LaunchMode.inAppWebView.
WebViewController
Controls a WebView.
WebViewCookie
A cookie that can be set globally for all web views using WebViewCookieManagerPlatform.
WebViewPlatform
Interface for a platform implementation of a WebView.
WebViewPlatformCallbacksHandler
Interface for callbacks made by WebViewPlatformController.
WebViewPlatformController
Interface for talking to the webview's platform implementation.
WebViewRequest
Defines the parameters that can be used to load a page in the WebView.
WindowsDeviceInfo
Object encapsulating WINDOWS device information.
WKWebViewCookieManager
Handles all cookie operations for the WebView platform.

Mixins

TileContainerRenderObjectMixin<ChildType extends RenderObject, ParentDataType extends ParentData>
Generic mixin for render objects with a list of children.

Extensions

BorderRaduisExtension
BoxConstraintsExtension
BuildContextEasyLocalizationExtension
BuildContext extension method for access to locale, supportedLocales, fallbackLocale, delegates and deleteSaveLocale()
DeviceInfoExtension
DevicePreviewStateHelperExtensions
A set of extension to triggers updates of the state.
EdgeInsetsExtension
KntUiExt
LocaleToStringHelper
Easy Localization locale helper
PhotoViewScaleStateIZoomingExtension
RaduisExtension
SizeExtension
StringToLocaleHelper
Easy Localization string locale helper
StringTranslateExtension
Strings extension method for access to tr() and plural() Example :
TextTranslateExtension
Text widget extension method for access to tr() and plural() Example :

Constants

defaultAvailableLocales → const List<NamedLocale>
A set of many named locales.
<NamedLocale>[NamedLocale('af', 'Afrikaans'), NamedLocale('af_NA', 'Afrikaans (Namibia)'), NamedLocale('af_ZA', 'Afrikaans (South Africa)'), Named…

Properties

defaultUriImage String
final
svg Svg
Instance for Svg's utility methods, which can produce a DrawableRoot or PictureInfo from String or Uint8List.
final
timeDilation double
Slows down animations by this factor to help in development.
read-only

Functions

basicLocaleListResolution(List<Locale>? preferredLocales, Iterable<Locale> supportedLocales) Locale
buildGenericDesktopMonitorDevice({required TargetPlatform platform, required String id, required String name, required Size screenSize, required Rect windowPosition, EdgeInsets safeAreas = EdgeInsets.zero, double pixelRatio = 2.0, EdgeInsets? rotatedSafeAreas, GenericDesktopMonitorFramePainter? framePainter}) DeviceInfo
Creates a generic desktop monitor device definition for the given name, target platform and screenSize. The windowPosition defines the position of a virtual window with a window frame adapted for the given platform.
buildGenericLaptopDevice({required TargetPlatform platform, required String id, required String name, required Size screenSize, required Rect windowPosition, EdgeInsets safeAreas = EdgeInsets.zero, double pixelRatio = 2.0, EdgeInsets? rotatedSafeAreas, GenericLaptopFramePainter? framePainter}) DeviceInfo
Creates a generic laptop device definition.
buildGenericPhoneDevice({required TargetPlatform platform, required String id, required String name, required Size screenSize, EdgeInsets safeAreas = EdgeInsets.zero, EdgeInsets rotatedSafeAreas = EdgeInsets.zero, double pixelRatio = 2.0, GenericPhoneFramePainter framePainter = const GenericPhoneFramePainter()}) DeviceInfo
Creates a generic phone device definition.
buildGenericTabletDevice({required TargetPlatform platform, required String id, required String name, required Size screenSize, EdgeInsets safeAreas = EdgeInsets.zero, EdgeInsets rotatedSafeAreas = EdgeInsets.zero, double pixelRatio = 2.0, GenericTabletFramePainter framePainter = const GenericTabletFramePainter()}) DeviceInfo
Creates a generic tablet device definition.
canLaunch(String urlString) Future<bool>
Checks whether the specified URL can be handled by some app installed on the device.
@Deprecated('Use canLaunchUrl instead')
canLaunchUrl(Uri url) Future<bool>
Checks whether the specified URL can be handled by some app installed on the device.
closeInAppWebView() Future<void>
Closes the current in-app web view, if one was previously opened by launchUrl.
closeWebView() Future<void>
Closes the current WebView, if one was previously opened via a call to launch.
@Deprecated('Use closeInAppWebView instead')
createLocalPictureConfiguration(BuildContext? context, {Rect? viewBox, ColorFilter? colorFilterOverride, Color? color, BlendMode? colorBlendMode}) PictureConfiguration
Creates an PictureConfiguration based on the given BuildContext (and optionally size).
defaultScaleStateCycle(PhotoViewScaleState actual) PhotoViewScaleState
The default ScaleStateCycle
launch(String urlString, {bool? forceSafariVC, bool forceWebView = false, bool enableJavaScript = false, bool enableDomStorage = false, bool universalLinksOnly = false, Map<String, String> headers = const <String, String>{}, Brightness? statusBarBrightness, String? webOnlyWindowName}) Future<bool>
Parses the specified URL string and delegates handling of it to the underlying platform.
@Deprecated('Use launchUrl instead')
launchUrl(Uri url, {LaunchMode mode = LaunchMode.platformDefault, WebViewConfiguration webViewConfiguration = const WebViewConfiguration(), String? webOnlyWindowName}) Future<bool>
Passes url to the underlying platform for handling.
localeFromString(String localeString) Locale
Convert string locale localeString to Locale
@Deprecated('Deprecated on Easy Localization 3.0')
localeToString(Locale locale, {String separator = '_'}) String
Convert locale to Srting with custom separator
@Deprecated('Deprecated on Easy Localization 3.0')
plural(String key, num value, {List<String>? args, Map<String, String>? namedArgs, String? name, NumberFormat? format}) String
function translate with pluralization key Localization key value Number value for pluralization BuildContext The location in the tree where this widget builds args List of localized strings. Replaces {} left to right namedArgs Map of localized strings. Replaces the name keys {key_name} according to its name name Name of number value. Replaces {$name} to value format Formats a numeric value using a NumberFormat class
precachePicture(PictureProvider provider, BuildContext? context, {Rect? viewBox, ColorFilter? colorFilterOverride, Color? color, BlendMode? colorBlendMode, PictureErrorListener? onError}) Future<void>
Prefetches an SVG Picture into the picture cache.
toBeginningOfSentenceCase(String? input, [String? locale]) String?
Convert a string to beginning of sentence case, in a way appropriate to the locale.
tr(String key, {List<String>? args, Map<String, String>? namedArgs, String? gender}) String
Main function for translate your language keys key Localization key BuildContext The location in the tree where this widget builds args List of localized strings. Replaces {} left to right namedArgs Map of localized strings. Replaces the name keys {key_name} according to its name gender Gender switcher. Changes the localized string based on gender string

Enums

AutoMediaPlaybackPolicy
Specifies possible restrictions on automatic media playback.
BrowserName
List of supported browsers
CacheManagerLogLevel
Log levels of the cache manager. Debug shows failed downloads and verbose also shows successful downloads and cache retrievals.
DevicePreviewBackgroundThemeData
DevicePreviewToolBarPositionData
DevicePreviewToolBarThemeData
DeviceType
A device form factor.
DrawableTextAnchorPosition
How to anchor text.
GradientUnitMode
Determines how to transform the points given for a gradient.
JavascriptMode
Describes the state of JavaScript support in a given web view.
LaunchMode
The desired mode to launch a URL.
A decision on how to handle a navigation request.
PhotoViewScaleState
A way to represent the step of the "doubletap gesture cycle" in which PhotoView is.
ShimmerDirection
An enum defines all supported directions of shimmer effect
ShowMode
SpinKitPianoWaveType
SpinKitWaveType
StorageType
Toast
Toast Length Only for Android Platform
ToastGravity
ToastGravity Used to define the position of the Toast on the screen
WebResourceErrorType
Possible error type categorizations used by WebResourceError.
WebViewRequestMethod
Defines the supported HTTP methods for loading a page in WebView.

Typedefs

AbsolutePathConverter = Future<String> Function(String)
ErrorListener = void Function()
Function which is called after loading the image failed.
ImageWidgetBuilder = Widget Function(BuildContext context, ImageProvider<Object> imageProvider)
Builder function to create an image widget. The function is called after the ImageProvider completes the image loading.
IndexedStaggeredTileBuilder = StaggeredTile? Function(int index)
Signature for a function that creates StaggeredTile for a given index.
JavascriptMessageHandler = void Function(JavascriptMessage message)
Callback type for handling messages sent from JavaScript running in a web view.
KntAppBuilder = Widget Function(BuildContext context, Locale?, PreviewDeviceAppBuilder? )
LoadingBuilder = Widget Function(BuildContext context, ImageChunkEvent? event)
A type definition for a callback to show a widget while the image is loading, a ImageChunkEvent is passed to inform progress
LoadingErrorWidgetBuilder = Widget Function(BuildContext context, String url, dynamic error)
Builder function to create an error widget. This builder is called when the image failed loading, for example due to a 404 NotFound exception.
Decides how to handle a specific navigation request.
PageFinishedCallback = void Function(String url)
Signature for when a WebView has finished loading a page.
PageLoadingCallback = void Function(int progress)
Signature for when a WebView is loading a page.
PageStartedCallback = void Function(String url)
Signature for when a WebView has started loading a page.
PhotoViewGalleryBuilder = PhotoViewGalleryPageOptions Function(BuildContext context, int index)
A type definition for a Function that defines a page in PhotoViewGallery.build
PhotoViewGalleryPageChangedCallback = void Function(int index)
A type definition for a Function that receives a index after a page change in PhotoViewGallery
PhotoViewImageScaleEndCallback = dynamic Function(BuildContext context, ScaleEndDetails details, PhotoViewControllerValue controllerValue)
A type definition for a callback when a user finished scale
PhotoViewImageTapDownCallback = dynamic Function(BuildContext context, TapDownDetails details, PhotoViewControllerValue controllerValue)
A type definition for a callback when the user taps down the photoview region
PhotoViewImageTapUpCallback = dynamic Function(BuildContext context, TapUpDetails details, PhotoViewControllerValue controllerValue)
A type definition for a callback when the user taps up the photoview region
PictureErrorListener = void Function(Object exception, StackTrace stackTrace)
The signature of a method that listens for errors on picture stream resolution.
PictureInfoDecoder<T> = Future<PictureInfo> Function(T data, ColorFilter? colorFilter, String key)
The signature of a function that can decode raw SVG data into a Picture.
PictureInfoDecoderBuilder<T> = PictureInfoDecoder<T> Function(SvgTheme theme)
The signature of a builder that returns a PictureInfoDecoder based on the provided theme.
PictureListener = dynamic Function(PictureInfo? image, bool synchronousCall)
Signature for callbacks reporting that an image is available.
PlaceholderWidgetBuilder = Widget Function(BuildContext context, String url)
Builder function to create a placeholder widget. The function is called once while the ImageProvider is loading the image.
PositionedToastBuilder = Widget Function(BuildContext context, Widget child)
Signature for a function to buildCustom Toast
PreviewDeviceAppBuilder = Widget Function(BuildContext, Widget?)
ProgressIndicatorBuilder = Widget Function(BuildContext context, String url, DownloadProgress progress)
Builder function to create a progress indicator widget. The function is called every time a chuck of the image is downloaded from the web, but at least once during image loading.
RebuildFactor = bool Function(MediaQueryData old, MediaQueryData data)
ScaleStateCycle = PhotoViewScaleState Function(PhotoViewScaleState actual)
A type definition for a Function that receives the actual PhotoViewScaleState and returns the next one It is used internally to walk in the "doubletap gesture cycle". It is passed to PhotoView.scaleStateCycle
ScaleStateListener = void Function(double prevScale, double nextScale)
ScreenUtilInitBuilder = Widget Function(BuildContext context, Widget? child)
WebResourceErrorCallback = void Function(WebResourceError error)
Signature for when a WebView has failed to load a resource.
WebViewCreatedCallback = void Function(WebViewController controller)
Optional callback invoked when a web view is first created. controller is the WebViewController for the created web view.
WebViewPlatformCreatedCallback = void Function(WebViewPlatformController? webViewPlatformController)
Signature for callbacks reporting that a WebViewPlatformController was created.