Back to Flukit

flukit

README-EN.md

latest4.6 KB
Original Source

中文简体|English

flukit

flukit is a Flutter UI Kit

Widgets

WidgetDescription
AfterLayoutA widget can retrieve its render object after layout.
AccurateSizedBoxA box with a specified size for its child. It is similar to [SizedBox], but the difference is SizedBox pass the constraints received from its parent to its child, but [AccurateSizedBox] not.
AnimatedRotationBoxRotates child forever
DoneWidgetDone tip widget
GradientButton
ElevatedGradientButtonButton with gradient colors
GradientCircularProgressIndicatorA circular progress indicator with gradient effect.
HitTestBlockerA blocker by which we can intercept hit test flow.
KeepAliveWrapperKeepAliveWrapper can keep the item(s) of scrollview alive.
LeftRightBoxA widget which supports left-right layout algorithm。
LayoutLogPrintA helper widget which can print constraints information in debug mode.
LogListenerScopeA stateful widget to listen redirected log events.
VerticalLogPanelA widget to show redirected logs from print, which will divide the available display space vertically into two areas, and display the logs below.
LogPanelA widget to show redirected logs from print.
PullRefreshScopeA widget provides pull refresh scope. Typically, the child is a [CustomScrollView].
SliverPullRefreshIndicatorA indicator for PullRefreshScope.
QuickScrollbarA quick scrollbar for scroll views.
SwiperA scrollable list that works page by page automatically or manually, and it also support loop playbacks.
ScaleViewScale the child from minScale to maxScale . support scale and double click gesture.
SliverFlexibleHeaderA sliver to provide a flexible header that its height can expand when user continue dragging over scroll . Typically as the first child of [CustomScrollView].
SliverPersistentHeaderToBoxA sliver like [SliverPersistentHeader], the difference is [SliverPersistentHeaderToBox] can contain a box widget and use the height of its child directly.
SliverHeaderDelegateDelegate helper for [SliverPersistentHeader]
SlideTransitionXAnimates the position of a widget relative to its normal position ignoring the animation direction(always slide along one direction). Typically, is used in combination with [AnimatedSwitcher].
TranslateWithExpandedPaintingAreaA widget that: 1. imposes different constraints on its child than it gets from its parent, possibly allowing the child to overflow the parent. 2. apply translate to its child (specified by [offset]).
TurnBoxAnimates the rotation of a widget when [turns] is changed.
WaterMarkA widget that paints watermark.

Tools

ToolsDescription
ExtraInfoBoxConstraintsA box constraints with extra information.
SafeValueNotifierMake sure notifying is safe during build/layout/paint phase.
RenderObjectAnimationMixinAnimation scheduling helper for RenderObject.

Contribution&Run demo

Project dirs

flukit

	--lib           //demo dir
	--package_src
		--lib
			--src  //widget dir

Run demo

flutter run

Demo is here.

Notice of submission

If you add a new widget,please follow these rules:

  1. Add more details as possible in comments.
  2. Add demo in demo dir.