codeveloper_tools
library
Enums
-
AnimationMode
-
Defines the animation style for digit transitions.
-
DateDisplayOrientation
-
Controls the overall layout orientation.
-
DisplayMode
-
Defines the overall display mode.
-
FlipType
-
Enum to define the type of flipping behavior.
-
HorizontalDateOrder
-
When displaying horizontally (each item is a Column),
controls whether the day name appears on top or the day number does.
-
NavigationBarPosition
-
Enum to control where the navigation bar is placed relative to the page.
-
Controls which animation is applied when the popup appears.
-
Enum for eight popup directions.
-
StageProgressOrientation
-
Enum to control the orientation of the progress indicator.
-
StarEdgeShape
-
Controls the style of the star’s edges: sharp or smooth.
-
StarEdgeStyle
-
Controls the style of the star’s edges.
-
TimerPosition
-
-
TooltipPositionExtended
-
Extended enum to control the tooltip’s placement relative to the child.
-
TransitionType
-
Enum to control the type of page transition.
-
VerticalDateOrder
-
When displaying vertically (each item is a Row),
controls whether the day name appears on the left or the day number does.
Functions
-
convertSecondsToCountdownTime(int totalSeconds)
→ CountdownTime
-
Converts a total number of seconds into a CountdownTime using fixed factors:
1 year = 365 days, 1 month = 30 days, 1 week = 7 days.
-
fromDateTime(DateTime dt, bool is12)
→ TimeFlipEvent
-
Converts a DateTime into a TimeFlipEvent.
If is12 is true, converts to 12-hour format (with period), otherwise leaves as 24-hour.
-
generateQRCode(String data, {double size = 200})
→ Widget
-
-
Helper: compute the offset for the popup relative to the FAB’s top-left corner.
-
incrementTime(TimeFlipEvent time, bool is12)
→ TimeFlipEvent
-
Increments the given TimeFlipEvent by one second, handling rollover.
is12 indicates whether the time is in 12-hour format.
-
LaunchURL({required String url})
→ Future<void>
-
-
MyListBuilder<T>({required int itemCount, required T builder(int index), void onComplete(List<T> finalList)?})
→ List<T>
-
-
PageHeight(BuildContext context)
→ double
-
-
PageWidth(BuildContext context)
→ double
-
-
PickAudioFile()
→ Future
-
-
PickImageFile()
→ Future
-
-
PickImageFromCamera()
→ Future
-
-
PickImageFromGalary()
→ Future
-
-
PickMediaFromGalary()
→ Future
-
-
PickMultiAudioFiles()
→ Future
-
-
PickMultiImageFiles()
→ Future
-
-
PickMultiImageFromGalary()
→ Future
-
-
PickMultiMediaFromGalary()
→ Future
-
-
PickMultiTypeFiles()
→ Future
-
-
PickMultiVideoFiles()
→ Future
-
-
PickVideoFile()
→ Future
-
-
PickVideoFromCamera()
→ Future
-
-
PickVideoFromGalary()
→ Future
-
-
ResponsiveHeight(BuildContext context, double containerHeight, {double? designScreenHeight = 792})
→ double
-
-
ResponsiveWidth(BuildContext context, double containerWidth, {double? designScreenWidth = 1536})
→ double
-
-
scanQR(BuildContext context)
→ Future<String>
-