gnums_utility_widgets
library
Classes
-
Adapter
-
Adapters provide a mechanism to drive an animation from an arbitrary source.
For example, synchronizing an animation with a scroll, controlling
an animation with a slider input, or progressing an animation based on
the time of day.
-
AlignedGridView
-
A scrollable, 2D array of widgets placed according to the aligned layout.
-
AlignEffect
-
An effect that animates the target between the specified begin and end
alignments (via Align).
Defaults to
begin=Align.topCenter, end=Align.center
.
-
AnchorKey
-
-
Animate
-
The Flutter Animate library makes adding beautiful animated effects to your widgets
simple. It supports both a declarative and chained API. The latter is exposed
via the
Widget.animate
extension, which simply wraps the widget in Animate
.
-
AnimateList<T extends Widget>
-
Applies animated effects to a list of widgets. It does this by wrapping each
widget in Animate, and then proxying calls to all instances. It can
also offset the timing of each widget's animation via
interval
.
-
AppState
-
-
ArcShape
-
-
AuthScreen
-
-
AutoOrLengthOrPercent
-
-
AutoPlaySwiperControllerEvent
-
-
Badge
-
-
BadgeAnimation
-
-
BadgeGradient
-
-
BadgePosition
-
Utility class. Don't try to use it!
-
BadgePositioned
-
Utility class. Don't try to use it!
-
BadgeState
-
-
BadgeStyle
-
-
BasePainter
-
-
BlurEffect
-
An effect that animates a blur on the target between the
specified begin and end blur radiuses (via ImageFiltered).
Defaults to
begin=0, end=4
.
-
BorderShape
-
-
BoxShadowEffect
-
An effect that animates a BoxShadow between begin and end (via DecoratedBox).
A value of
null
for either will be interpreted as a shadow that matches the other shadow but
with a zero offset and blurRadius.
You can also specify a borderRadius that defines rounded corners for the shadow.
Defaults to begin=null, end=BoxShadow(color: Color(0x80000000), blurRadius: 8.0, offset: Offset(0.0, 4.0))
-
Bubble
-
-
BubbleClipper
-
-
BubbleEdges
-
Class BubbleEdges is an analog of EdgeInsets, but default values are null.
-
BubblePainter
-
A painter for the Bubble.
-
BubbleShape
-
-
BubbleStyle
-
A style for the Bubble.
-
BuildIndexControllerEvent
-
-
BytesLoader
-
An interface that can be implemented to support decoding vector graphic
binary assets from different byte sources.
-
Cache
-
The cache for decoded SVGs.
-
CachedNetworkImage
-
Image widget to show NetworkImage with caching functionality.
-
CachedNetworkImageProvider
-
IO implementation of the CachedNetworkImageProvider; the ImageProvider to
load network images using a cache.
-
CallbackEffect
-
An effect that calls a callback function at a particular point in the animation.
It includes a boolean value indicating if the animation is playing in reverse.
-
ChangeNotifierAdapter
-
Drives an Animate animation from a ChangeNotifier. The valueGetter
should provide a value in the range
0-1
when a change occurs.
-
ChartData
-
-
CircleShape
-
-
ColorEffect
-
An effect that animates a Color between begin and end, composited with
the target using blendMode (via ColorFiltered). A color value of
null
will be interpreted as a fully transparent version of the other color.
Defaults to begin=null, end=Color(0x800099FF)
.
-
ColorMapper
-
A class that transforms from one color to another during SVG parsing.
-
ColorPainter
-
-
CommonSpace
-
-
Content
-
-
CrossfadeEffect
-
An effect that crossfades the incoming child (including preceeding effects)
with a new widget (via Stack and FadeTransition). It uses a builder so
that the effect can be reused, but note that the builder is only called once
when the effect initially builds.
-
CSSBoxParentData
-
-
CssBoxWidget
-
-
CustomAppBarTitle
-
-
CustomAppLock
-
-
-
CustomDropdown<T>
-
-
CustomDropdownDecoration
-
-
CustomDropdownDisabledDecoration
-
-
CustomEffect
-
Provide an easy way to add custom animated effects via a builder method that
accepts a BuildContext, target child, and calculated animation value
between begin and end.
-
CustomLayoutOption
-
-
CustomNavBarScreen
-
-
CustomShape
-
-
CutCornerShape
-
-
DashedPainter
-
DashedPainter is a custom painter that draws a dashed line around the
child
widget. The strokeWidth property defines the width of the dashed
border and color determines the stroke paint color. CircularIntervalList
is populated with the dashPattern to render the appropriate pattern. The
radius property is taken into account only if the borderType is
BorderType.RRect. A customPath can be passed in as a parameter if you
want to draw a custom shaped border.
-
DefaultSvgTheme
-
The SVG theme to apply to descendant SvgPicture widgets
which don't have explicit theme values.
-
DiagonalAngle
-
-
DiagonalShape
-
-
Dimension
-
Represents a CSS dimension https://drafts.csswg.org/css-values/#dimensions
-
DocumentViewPage
-
-
-
DottedBorder
-
Add a dotted border around any child widget. The strokeWidth property
defines the width of the dashed border and color determines the stroke
paint color.
CircularIntervalList
is populated with the dashPattern to
render the appropriate pattern. The radius property is taken into account
only if the borderType is BorderType.RRect. A customPath can be passed in
as a parameter if you want to draw a custom shaped border.
-
DottedLine
-
Draw a dotted line.
-
DottedScaleXWidget
-
-
DownloadProgress
-
Progress of the file that is being downloaded from the
originalUrl
.
-
-
DropPainter
-
-
Effect<T>
-
An empty effect that all other effects extend.
It can be added to Animate, but has no visual effect.
-
EffectEntry
-
Because Effect classes are immutable and may be reused between multiple
Animate (or AnimateList) instances, an EffectEntry is created to store
values that may be different between instances. For example, due to an
interval
on AnimateList
, or from inheriting timing parameters.
-
EffectList
-
Simple helper class to build a list of effects via the chained api.
Example:
-
ElevationEffect
-
An effect that animates a Material elevation shadow between begin and end (via PhysicalModel).
You can also specify a shadow color and borderRadius to add rounded corners.
It defaults to
begin=0, end=8
.
-
EmptyContentElement
-
-
ExtensionContext
-
Provides information about the current element on the Html tree for
an
Extension
to use.
-
FadeEffect
-
Animates the opacity of the target between the specified
begin and end values (via FadeTransition).
It defaults to
begin=0, end=1
.
-
FlipEffect
-
An effect that animates a 2.5D card flip rotation effect (via Transform).
The effect can be horizontal or vertical.
-
-
-
-
FollowPathEffect
-
An effect that moves the target following the specified path (via Transform).
The path coordinates are relative to the target's nominal position.
-
FontSize
-
-
-
GNActionIconButton
-
-
GNAppPermission
-
Request for necessary App
Permission(s)
.
-
GNBoldTextWidget
-
-
GNBottomSheet
-
-
GNBusPass
-
-
GNCartesianChartWidget
-
-
GNCheckbox
-
-
GnCheckboxWithText
-
-
GNCircularCard
-
-
GNCircularChartWidget
-
-
GNClearButton
-
-
GNCustomBottomSheetDropdownAutoSearch<T extends Object>
-
-
GNCustomCard
-
-
GNCustomChip
-
-
GNCustomDateWidget
-
-
GNCustomScaffold
-
-
GNDateSelect
-
-
GNDateTimeRangeSelect
-
-
GNDateTimeSelect
-
-
GNDayWiseAttendanceDetail
-
-
GNDotSeparator
-
-
GNDownloadButton
-
-
GNDrawer
-
-
GNDrawerListTime
-
-
GNExpansionTile
-
-
GNFileUploadWidget
-
-
-
GNForm
-
-
GNHorizontalDivider
-
-
GNIconButton
-
-
GNLightTextWidget
-
-
GNLinearProgressIndicator
-
-
GNMediumTextWidget
-
-
GNMultiFileUploadWidget
-
-
GNNoDataFound
-
-
GNNotificationCard
-
-
-
GNRadioButton
-
-
GNRegularTextWidget
-
-
GNSaveButton
-
-
GNSearchField
-
-
GNSemiBoldTextWidget
-
-
GNSliverAppbar
-
-
GNSnackBar
-
-
GNStatusView
-
-
GNStudentDetailAttendancePage
-
-
GNStudentSchedule
-
-
GNTabBar
-
-
GNTextButton
-
-
GNTextFormField
-
-
GNTimeSelect
-
-
GNToolTip
-
-
GNVerticalDivider
-
-
Height
-
-
HideOnScrollSettings
-
-
Html
-
-
HtmlExtension
-
The HtmlExtension class allows you to customize the behavior of flutter_html
or add additional functionality.
-
HtmlPadding
-
-
HtmlPaddings
-
-
HtmlParser
-
-
IconStyle
-
Used to customize the icon used with the default indicator.
-
ImageExtension
-
-
ImageTapExtensionElement
-
-
IndexController
-
-
IndexControllerEventBase
-
-
IndicatorStyle
-
Used to customize the indicator from the line.
-
InteractiveElement
-
An InteractiveElement is a StyledElement that takes user gestures (e.g. tap).
-
ItemAnimationSettings
-
-
Length
-
This dimension takes a value with a length unit such as px or em. Note that
these can be fixed or relative (but they must not be a percent)
-
LengthOrPercent
-
This dimension takes a value with a length-percent unit such as px or em
or %. Note that these can be fixed or relative (but they must not be a
percent)
-
LinebreakContentElement
-
-
LineHeight
-
-
LineStyle
-
Used to customize the line
-
ListenEffect
-
An effect that calls a callback function with its current animation value
between begin and end.
-
ListItemDecoration
-
-
ListStyleImage
-
-
Margin
-
-
Margins
-
-
Marker
-
-
MasonryGridView
-
A scrollable, 2D array of widgets placed according to the masonry layout.
-
MatcherExtension
-
-
MoveEffect
-
An effect that moves the target between the specified begin and end
offsets (via Transform.translate).
Defaults to
begin=Offset(0, -16), end=Offset.zero
.
transformHitTests is simply passed on to Transform.translate.
-
MoveIndexControllerEvent
-
-
MultiImageStreamCompleter
-
An ImageStreamCompleter with support for loading multiple images.
-
MultiSelectController<T>
-
-
NavBarAnimationSettings
-
-
NavBarDecoration
-
-
NeumorphicDecoration
-
-
NeumorphicProperties
-
-
NextIndexControllerEvent
-
-
NonePainter
-
-
NumberConst
-
-
OnHideAnimationSettings
-
-
OnImageTapExtension
-
-
OpacityTransformBuilder
-
-
OutstandingFees
-
-
PageIndicator
-
-
PdfaAttachedFiles
-
-
PdfaColorProfile
-
-
PdfaFacturxRdf
-
-
PdfAnnot
-
-
PdfAnnotBase
-
-
PdfAnnotCircle
-
-
PdfAnnotInk
-
-
PdfAnnotNamedLink
-
-
PdfAnnotPolygon
-
-
PdfAnnotSign
-
-
PdfAnnotSquare
-
-
PdfAnnotText
-
-
PdfAnnotUrlLink
-
-
PdfAnnotWidget
-
-
PdfaRdf
-
-
PdfBaseFunction
-
-
PdfBorder
-
Defines a border object
-
PdfButtonField
-
-
PdfChoiceField
-
-
PdfColor
-
Represents an RGB color
-
PdfColorCmyk
-
Represents an CMYK color
-
PdfColorGrey
-
-
PdfColorHsl
-
Represents an HSL color
-
PdfColorHsv
-
Same as HSB, Cylindrical geometries with hue, their angular dimension,
starting at the red primary at 0°, passing through the green primary
at 120° and the blue primary at 240°, and then wrapping back to red at 360°
-
PdfColors
-
Material design colors
-
PdfDocument
-
This class is the base of the Pdf generator. A PdfDocument class is
created for a document, and each page, object, annotation,
etc is added to the document.
Once complete, the document can be written to a Stream, and the Pdf
document's internal structures are kept in sync.
-
PdfDocumentParserBase
-
Base class for loading an existing PDF document.
-
PdfEncryption
-
Encryption object
-
PdfFont
-
Pdf font object
-
PdfFontMetrics
-
Describe dimensions for glyphs in a font
-
PdfFormField
-
-
PdfFunction
-
-
PdfGraphics
-
Pdf drawing operations
-
PdfGraphicState
-
Graphic state
-
PdfGraphicStates
-
Stores all the graphic states used in the document
-
PdfImage
-
Image object stored in the Pdf document
-
PdfInfo
-
Information object
-
PdfJpegInfo
-
Jpeg metadata extraction
-
PdfMetadata
-
Pdf Metadata
-
PdfName
-
-
PdfOutline
-
Pdf Outline object
-
PdfPage
-
Page object, which will hold any contents for this page.
-
PdfPageFormat
-
-
PdfPageLabel
-
-
PdfPageLabels
-
Pdf PageLabels object
-
PdfPattern
-
-
PdfPoint
-
-
PdfRasterBase
-
Represents a bitmap image
-
PdfRect
-
-
PdfShading
-
-
PdfShadingPattern
-
-
PdfSignature
-
-
PdfSignatureBase
-
-
PdfSoftMask
-
-
PdfStitchingFunction
-
-
PdfTextField
-
-
PdfTtfFont
-
-
PersistentBottomNavBarItem
-
An item widget for the
PersistentTabView
.
-
PersistentNavBarNavigator
-
-
PersistentTabController
-
Navigation bar controller for
PersistentTabView
.
-
PersistentTabView
-
A highly customizable persistent navigation bar for flutter.
-
PersistentTabViewBase
-
-
PictureInfo
-
The deocded result of a vector graphics asset.
-
PictureProvider
-
Deprecated class, will be removed, does not do anything.
-
PinchZoom
-
-
PolygonShape
-
-
Preferences
-
-
PrevIndexControllerEvent
-
-
ProgressDialog
-
-
QuiltedGridRepeatPattern
-
Defines how a pattern is repeating.
-
QuiltedGridTile
-
A tile for SliverQuiltedGridDelegate.
-
RatingBar
-
Creates rating bar.
-
ReadMoreHtml
-
-
ReadMoreText
-
-
ReadMoreTextState
-
-
-
RenderCSSBox
-
Implements the CSS layout algorithm
-
RenderSliverMasonryGrid
-
A sliver that places multiple box children in a two dimensional arrangement.
-
ReplacedElement
-
A ReplacedElement is a type of StyledElement that does not require its children to be rendered.
-
RingPainter
-
-
RotateEffect
-
Effect that rotates the target between begin and end (via RotationTransition).
Values are specified in "turns" (360° or 2𝝅 radians), so a
begin=0.25, end=2.25
would start with the child
rotated a quarter turn clockwise (90 degrees), and rotate two full turns (ending at 810 degrees).
Defaults to begin=-1.0, end=0
.
-
RotateTransformBuilder
-
-
RoundRectShape
-
-
RouteAndNavigatorSettings
-
-
RubyElement
-
-
SaturateEffect
-
An effect that animates the color saturation of the target. The begin and
end values indicate the saturation level, where
0
is fully desaturated
(ie. grayscale) and 1
is normal saturation. Values >1
will oversaturate.
Defaults to begin=0, end=1
.
-
ScaleAndFadeTransformer
-
-
ScaleEffect
-
An effect that scales the target between the specified begin and end
offset values (via Transform.scale).
Defaults to
begin=Offset(0,0), end=Offset(1,1)
.
-
ScalePainter
-
-
ScaleTransformBuilder
-
-
ScaleYWidget
-
-
ScreenTransitionAnimationSettings
-
-
ScrollAdapter
-
Drives an Animate animation from a ScrollController.
-
SearchFieldDecoration
-
-
ShaderEffect
-
Effect that applies an animated fragment shader to a target. See
Writing and using fragment shaders
for information on how to include shaders in your app.
-
ShaderUpdateDetails
-
Passed to the ShaderEffect.update callback. Contains information necessary
for updating the shader:
-
ShakeEffect
-
Effect that shakes the target, using translation, rotation, or both (via Transform).
-
Shape
-
-
ShapeOfView
-
-
ShapeOfViewBorder
-
-
Shimmer
-
A widget renders shimmer effect over child widget tree.
-
ShimmerEffect
-
An effect that animates gradient overlay effects (via ShaderMask), such as the shimmer loading effect
popularized by facebook.
-
SingleSelectController<T>
-
-
Sizer
-
A widget that gets the device's details like orientation and constraints
-
SizerUtil
-
-
SlideEffect
-
An effect that moves the target based on a fraction of its size
per the specified begin and end offsets (via SlideTransition).
Defaults to
begin=Offset(0, -0.5), end=Offset.zero
(slide down from half its height).
-
SlidePainter
-
-
SlideTween
-
-
SliverAlignedGrid
-
A sliver that places multiple box children in a two dimensional arrangement.
-
SliverMasonryGrid
-
A sliver that places multiple box children in a two dimensional arrangement.
-
SliverMasonryGridParentData
-
Parent data structure used by RenderSliverMasonryGrid.
-
SliverQuiltedGridDelegate
-
Controls the layout of a quilted grid.
-
SliverSimpleGridDelegate
-
Controls the layout of tiles in a some slivers.
-
SliverSimpleGridDelegateWithFixedCrossAxisCount
-
Creates grid layouts with a fixed number of tiles in the cross axis.
-
SliverSimpleGridDelegateWithMaxCrossAxisExtent
-
Creates grid layouts with tiles that each have a maximum cross-axis extent.
-
SliverStairedGridDelegate
-
Controls the layout of tiles in a staired grid.
-
SliverWovenGridDelegate
-
Controls the layout of tiles in a woven grid.
-
SpinKitChasingDots
-
-
SpinKitCircle
-
-
SpinKitCubeGrid
-
-
SpinKitDancingSquare
-
-
SpinKitDoubleBounce
-
-
SpinKitDualRing
-
-
SpinKitFadingCircle
-
-
SpinKitFadingCube
-
-
SpinKitFadingFour
-
-
SpinKitFadingGrid
-
-
SpinKitFoldingCube
-
-
SpinKitHourGlass
-
-
SpinKitPianoWave
-
-
SpinKitPouringHourGlass
-
-
SpinKitPouringHourGlassRefined
-
-
SpinKitPulse
-
-
SpinKitPulsingGrid
-
-
SpinKitPumpCurve
-
-
SpinKitPumpingHeart
-
-
SpinKitRing
-
-
SpinKitRingCurve
-
-
SpinKitRipple
-
-
SpinKitRotatingCircle
-
-
SpinKitRotatingPlain
-
-
SpinKitSpinningCircle
-
-
SpinKitSpinningLines
-
-
SpinKitSquareCircle
-
-
SpinKitThreeBounce
-
-
SpinKitThreeInOut
-
-
SpinKitWanderingCubes
-
-
SpinKitWave
-
-
SpinkitWaveCustomPaint
-
-
SpinKitWaveSpinner
-
-
SpinningLinesPainter
-
-
StaggeredGrid
-
A grid which lays out children in a staggered arrangement.
Each child can have a different size.
Wrap your children with a StaggeredGridTile to specify their size if it's
different from a 1x1 tile.
-
StaggeredGridTile
-
Represents the size of a StaggeredGrid's tile.
-
StairedGridTile
-
A tile of a staired pattern.
-
StarShape
-
-
StopWatchRecord
-
StopWatchRecord
-
StopWatchTimer
-
StopWatchTimer
-
StudentAttendanceMain
-
-
StudentAttendanceNew
-
-
StudentFees
-
-
StudentProfile
-
-
StudentProfileNew
-
-
-
StudentResultDetailTitle
-
-
StudentResultDetailView
-
-
StudentResultExpansionResult
-
-
StudentResultTranscript
-
-
Style
-
This class represents all the available CSS attributes
for this package.
-
StyledElement
-
A StyledElement applies a style to all of its children.
-
SuperTooltip
-
A powerful and customizable tooltip widget for Flutter.
-
SuperTooltipController
-
-
Svg
-
A utility class for decoding SVG data to a
DrawableRoot
or a PictureInfo.
-
SvgAssetLoader
-
A BytesLoader that decodes and parses an SVG asset in an isolate and
creates a vector_graphics binary representation.
-
SvgBytesLoader
-
A BytesLoader that decodes and parses a UTF-8 encoded SVG string from a
Uint8List in an isolate and creates a vector_graphics binary
representation.
-
SvgCacheKey
-
A SvgTheme aware cache key.
-
SvgFileLoader
-
A BytesLoader that decodes SVG data from a file in an isolate and creates
a vector_graphics binary representation.
-
SvgLoader<T>
-
A BytesLoader that parses a SVG data in an isolate and creates a
vector_graphics binary representation.
-
SvgNetworkLoader
-
A BytesLoader that decodes and parses a UTF-8 encoded SVG string the
network in an isolate and creates a vector_graphics binary representation.
-
SvgPicture
-
A widget that will parse SVG data for rendering on screen.
-
SvgStringLoader
-
A BytesLoader that parses an SVG string in an isolate and creates a
vector_graphics binary representation.
-
SvgTheme
-
A theme used when decoding an SVG picture.
-
SwapEffect
-
An effect that swaps out the incoming child for a new child at a particular
point in time. This includes all preceding effects. It uses a builder so
that the effect can be reused, but note that the builder is only called once
when the effect initially builds.
-
SwipeIndexControllerEvent
-
-
Swiper
-
-
SwiperControl
-
-
SwiperController
-
-
-
-
SwiperPlugin
-
plugin to display swiper components
-
SwiperPluginConfig
-
-
SwiperPluginView
-
-
TabItem
-
-
TagExtension
-
TagExtension allows you to extend the functionality of flutter_html
by defining the behavior of custom tags.
-
TagWrapExtension
-
-
TextContentElement
-
TextContentElement is a ContentElement with plaintext as its content.
-
ThenEffect
-
A special convenience "effect" that makes it easier to sequence effects after
one another. It does this by establishing a new baseline time equal to the
previous effect's end time and its own optional delay.
All subsequent effect delays are relative to this new baseline.
-
TicketClipper
-
-
TicketWidget
-
-
TimelineDivider
-
This is a port from the original Divider.
Except that this one allows to define the start and end
according to the width available, with percentage values
from 0.0 to 1.0
-
TimelineTile
-
A tile that renders a timeline format.
-
TimerBuilder
-
A widget that rebuilds on specific and / or periodic Timer events.
-
TintEffect
-
An effect that applies an animated color tint to the target (via ColorFiltered).
The begin and end values indicate the strength of the tint (0 - 0% tint, 1 - 100% tint).
Defaults to
begin=0, end=1
.
-
ToggleEffect
-
An effect that allows you to toggle the behavior of a builder function at a certain
point in time.
-
TransformBuilder<T>
-
-
TranslateTransformBuilder
-
-
TriangleShape
-
-
TtfBitmapInfo
-
-
TtfGlyphInfo
-
-
TtfParser
-
-
ValueAdapter
-
Drives an Animate animation directly from a value in the range
0-1
-
ValueNotifierAdapter
-
Drives an Animate animation from a ValueNotifier. The value from the
notifier should be in the range
0-1
.
-
VectorGraphicUtilities
-
Utility functionality for interaction with vector graphic assets.
-
VisibilityEffect
-
An effect that toggles the visibility of the target (via Visibility).
Defaults to
end=true
.
-
WarmPainter
-
-
WidgetZoom
-
-
Width
-
The Width class takes in a value and units, and defaults to px if no
units are provided. A helper constructor, Width.auto constructor is
provided for convenience.
-
WovenGridTile
-
A tile of a woven pattern.
-
WrapperElement
-
Functions
-
alignDateTime(DateTime dt, Duration alignment, [bool roundUp = false])
→ DateTime
-
Rounds down or up a DateTime object using a Duration object.
If
roundUp
is true, the result is rounded up, otherwise it's rounded down.
If the duration is a multiple of days, the result will be aligned at
the day mark in the timezone of the source datetime.
-
AppLockToggleButton({String lockNotSetMessage = "Please enable mobile screen lock.", String errorTitle = "App Lock", bool isToggleButton = false})
→ Widget
-
-
assertMidButtonStyles(NavBarStyle navBarStyle, int itemCount)
→ bool
-
-
changeLockStatus({String lockNotSetMessage = "Please enable mobile screen lock.", String errorTitle = "App Lock"})
→ Future<bool>
-
-
createTimerStream(TimerGenerator generator, Future stopSignal)
→ Stream<DateTime>
-
Creates a stream tha produces DateTime objects at the times specified by the
generator
.
Stops the stream when stopSignal
is received.
-
dataTile({required IconData iconName, Color? iconColor, required String labelName, required dynamic data, bool isCopy = false, dynamic onTap()?})
→ Widget
-
-
fromIterable(Iterable<DateTime> iterable)
→ TimerGenerator
-
-
getAlignmentUnit(Duration interval)
→ Duration
-
Returns an alignment unit can be passed to alignDateTime in order to align
the date/time units. For example, if the specified interval is 15 minutes,
the alignment unit is 1 minute.
-
hasScreenLockPassword({required LocalAuthentication auth})
→ Future<bool>
-
-
mentoringDetailCard({dynamic icon, dynamic title, dynamic details, dynamic iconColor})
→ Widget
-
-
numberToFontSize(String num)
→ FontSize
-
-
periodicTimer(Duration interval, {Duration alignment = Duration.zero})
→ TimerGenerator
-
-
scheduledTimer(Iterable<DateTime> schedule)
→ TimerGenerator
-
-
showStudentProfilePhoto({required String photoPath})
→ void
-
Typedefs
-
AnimateCallback
= void Function(AnimationController controller)
-
Function signature for Animate callbacks.
-
BuildChildrenCallback
= Map<StyledElement, InlineSpan> Function()
-
-
CustomEffectBuilder
= Widget Function(BuildContext context, double value, Widget child)
-
-
DecorationBuilder
= Decoration Function(Offset target)
-
-
DeflateCallback
= List<int> Function(List<int> data)
-
Callback used to compress the data
-
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.
-
LoadingErrorWidgetBuilder
= Widget Function(BuildContext context, String url, Object 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.
-
OnCssParseError
= String? Function(String css, List<Message> errors)
-
-
OnTap
= void Function(String? url, Map<String, String> attributes, Element? element)
-
-
PathBuilder
= Path Function(Size)
-
-
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.
-
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.
-
ReparentChildBuilder
= Widget Function(Widget parent, Widget child)
-
The builder type used by Animate.reparentTypes. It must accept an existing
parent widget, and rebuild it with the provided child. In effect, it clones
the provided parent widget with the new child.
-
ResponsiveBuild
= Widget Function(BuildContext context, Orientation orientation, DeviceType deviceType)
-
Provides
Context
, Orientation
, and DeviceType
parameters to the builder function
-
ShaderUpdateCallback
= EdgeInsets? Function(ShaderUpdateDetails details)
-
Function signature for ShaderEffect update handlers.
-
ShapeBuilder
= Path Function(Rect? rect)
-
-
SvgErrorWidgetBuilder
= Widget Function(BuildContext context, Object error, StackTrace stackTrace)
-
Builder function to create an error widget. This builder is called when
the image failed loading.
-
SwiperDataBuilder<T>
= Widget Function(BuildContext context, T data, int index)
-
-
SwiperOnTap
= void Function(int index)
-
-
-
TimerGenerator
= DateTime? Function(DateTime now)
-
Used by TimerBuilder to determine the next DateTime to trigger a rebuild on
-
ToggleEffectBuilder
= Widget Function(BuildContext context, bool value, Widget child)
-
-
ValidationFunction
= String? Function(String? value)
-