flutter_waya library

Classes

AlertBase
AlertBaseState
AlertSureCancel
AlertTools
AreaPicker
AreaPickerState
AutoScrollEntry
AutoScrollEntryState
AzIndexBar
Base IndexBar.
AzIndexBarDetails
IndexModel.
AzIndexBarState
AzListHeader
AzListView Header.
AzListView
AzListView.
AzListViewState
BezierCircleHeader
bezier + circle indicator,you can use this directly [...]
BezierHeader
bezier container,if you need to implements indicator with bezier ,you can use consider about use this this will add the bezier container effect [...]
CheckBox
CheckBoxState
ChRefreshString
Chinese
ClassicFooter
the most common indicator,combine with a text and a icon
ClassicHeader
the most common indicator,combine with a text and a icon [...]
ConstConstant
ConstIcon
icons
CountDownSkip
CountDownSkipState
CustomDefaultLocalizations
CustomDismissible
CustomDrawer
CustomDrawerState
CustomFooter
a custom Indicator for footer,the usage I have put in CustomHeader,same with that See also [...]
CustomHeader
a custom Indicator for header [...]
CustomLocalizationsDelegate
DateTimePicker
DateTimePickerState
DateTimePickerUnit
DeRefreshString
German
DioTools
DottedLine
DottedPainter
EnglishLocale
EnRefreshString
English
EventBus<S>
EventFactory
FixedSizeText
FrRefreshString
French
GestureLock
ignore: must_be_immutable
GestureLockState
GestureZoom
可缩放/平移的盒子小部件
GifCache
cache gif fetched image
GifController
Controller gif
GifImage
GifImageState
GridBuilder
Header.
HintDot
IconBox
IconCode
InputField
ItRefreshString
Italian
JpRefreshString
Japanese
LinkFooter
enable footer link other footer place outside the viewport
LinkHeader
enable header link other header place outside the viewport
ListBuilder
ListEntry
ListWheel
ListWheelState
LoadIndicator
a widget implements pull up load
LoadIndicatorState<T extends LoadIndicator>
Loading
LoadingProcessor
footer Indicator exposure interface
LogTools
MaterialClassicHeader
mostly use flutter inner's RefreshIndicator
MediaQueryTools
MultipleChoicePicker
例子
NestedScroll
NestedScrollState
OverlayBase
OverlayCupertino
OverlayElement
A place in an Overlay that can contain a widget. [...]
OverlayMaterial
Overlays
A Stack of entries that can be managed independently. [...]
OverlayScaffold
OverlaysStatus
The current state of an Overlay. [...]
OverlayTools
PickerTools
Refresh
RefreshConfiguration
Controls how SmartRefresher widgets behave in a subtree.the usage just like ScrollConfiguration [...]
RefreshController
A controller controll header and footer state, it can trigger driving request Refresh ,set the initalRefresh,status if needed [...]
Refreshed
RefreshedState
RefreshIndicator
a widget implements ios pull down refresh effect and Android material RefreshIndicator overScroll effect
RefreshIndicatorState<T extends RefreshIndicator>
Internal Implementation of Head Indicator [...]
RefreshLocalizations
Implementation of localized strings for the ClassicHeader,ClassicFooter,TwoLevelHeader [...]
RefreshLocalizationsDelegate
RefreshPhysics
a scrollPhysics for config refresh scroll effect,enable viewport out of edge whatever physics it is in ClampingScrollPhysics, it doesn't allow to flip out of edge,but in RefreshPhysics,it will allow to do that, by parent physics passing,it also can attach the different of iOS and Android different scroll effect it also handles interception scrolling when refreshed, or when the second floor is open and closed. with SpringDescription passing,you can custom spring back animate,the more paramter can be setting in RefreshConfiguration [...]
RefreshProcessor
head Indicator exposure interface
RefreshString
interface implements different language
RichSpan
RuRefreshString
Russian
ScreenFit
SendSMS
SendSMSState
SimpleButton
SmartRefresher
This is the most important component that provides drop-down refresh and up loading. RefreshController must not be null,Only one controller to one SmartRefresher [...]
SmartRefresherState
StorageTools
SuspensionModel
ISuspension Bean.
SuspensionUtil
Suspension Util.
TabBarBox
TabBarMerge
TabNavigationPage
TabNavigationPageState
Tools
TwoLevelHeader
this header help you implements twoLevel function easyily, the behaviour just like TaoBao,XieCheng(携程) App TwoLevel [...]
UkRefreshString
Universal
WaterDropHeader
QQ ios refresh header effect
WaterDropMaterialHeader
attach the waterdrop effect to MaterialClassicHeader

Mixins

IndicatorStateMixin<T extends StatefulWidget, V>
mixin in IndicatorState,it will get position and remove when dispose,init mode state [...]

Constants

am → const String
Outputs if hour is AM or PM [...]
'am'
AzIndexData → const List<String>
Default Index data.
const ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M"…
background → const String
'background'
black → const String
'black'
black30 → const String
'black30'
black50 → const String
'black50'
black70 → const String
'black70'
black90 → const String
'black90'
blue → const String
'blue'
boxShadowColor → const String
'boxShadowColor'
constColors → const Map<String, Color>
const {'$transparent' : Colors.transparent, '$white' : Colors.white, '$red' : Colors.red, '$white50' : const Color(0x50FFFFFF), '$black' : const Color(0xFF00000…
D → const String
Outputs week day as long name [...]
'D'
d → const String
Outputs day compactly [...]
'd'
DD → const String
Outputs week day as long name [...]
'DD'
dd → const String
Outputs day as two digits [...]
'dd'
greenAccent → const String
'greenAccent'
H → const String
Outputs hour (0 to 23) compactly [...]
'H'
h → const String
Outputs hour (0 - 11) compactly [...]
'h'
HH → const String
Outputs hour (0 to 23) as two digits [...]
'HH'
hh → const String
Outputs hour (0 - 11) as two digits [...]
'hh'
HTTP_CONTENT_TYPE → const List<String>
const ["application/x-www-form-urlencoded", "multipart/form-data", "application/json", "text/xml"]
HTTP_TIMEOUT_CONNECT → const int
5000
HTTP_TIMEOUT_RECEIVE → const int
10000
M → const String
Outputs month as short name [...]
'M'
m → const String
Outputs month compactly [...]
'm'
MM → const String
Outputs month as long name [...]
'MM'
mm → const String
Outputs month as two digits [...]
'mm'
n → const String
Outputs minute compactly [...]
'n'
nn → const String
Outputs minute as two digits [...]
'nn'
red → const String
'red'
S → const String
Outputs millisecond compactly [...]
'S'
s → const String
Outputs second compactly [...]
's'
ss → const String
Outputs second as two digits [...]
'ss'
SSS → const String
Outputs millisecond as three digits [...]
'SSS'
transparent → const String
Colors
'transparent'
u → const String
Outputs millisecond compactly [...]
'u'
uuu → const String
Outputs microsecond as three digits [...]
'uuu'
W → const String
Outputs week in year compactly [...]
'W'
w → const String
Outputs week in month [...]
'w'
white → const String
'white'
white50 → const String
'white50'
WW → const String
Outputs week in year as two digits [...]
'WW'
yy → const String
Outputs year as two digits [...]
'yy'
yyyy → const String
Outputs year as four digits [...]
'yyyy'
Z → const String
'Z'
z → const String
Outputs timezone as time offset [...]
'z'

Properties

overlayState OverlaysStatus
read / write

Functions

dayInYear(DateTime date) int
fetchGif(ImageProvider provider) Future<List<ImageInfo>>
formatDate(DateTime date, List<String> formats) String
getColors(String color) Color
isDebug() → dynamic
log(dynamic message) → dynamic
messageDestroy() → dynamic
messageListen(dynamic listen) → dynamic
sendMessage(dynamic message) → dynamic
showToast(dynamic message, {Duration closeDuration}) → dynamic

Enums

AutoScrollAnimation
BezierCircleType
BezierDismissType
DateType
IconPosition
direction that icon should place to the text
IndicatorType
InputTextType
LineType
ListWheelChildDelegateType
LoadingType
LoadStatus
footer state
LoadStyle
footer indicator display style
PopupMode
PushMode
RefreshCompletedType
刷新类型
RefreshStatus
header state
RefreshStyle
header indicator display style
StretchyHeaderAlignment
TabBarLevelPosition
TwoLevelDisplayAlignment

Typedefs

FooterBuilder(BuildContext context, LoadStatus mode) Widget
custom footer builder,you can use second paramter to know what footerr state is
HeaderBuilder(BuildContext context, RefreshStatus mode) Widget
custom header builder,you can use second paramter to know what header state is
IndexBarBuilder(BuildContext context, List<String> tags, IndexBarTouchCallback onTouch) Widget
Called to build IndexBar.
IndexBarTouchCallback(AzIndexBarDetails model) → void
IndexBar touch callback IndexModel.
IndexHintBuilder(BuildContext context, String hint) Widget
Called to build index hint.
IndicatorBuilder() Widget
global default indicator builder
ItemWidgetBuilder(BuildContext context, SuspensionModel model) Widget
Called to build children for the listview.
ModeChangeCallBack<T>(T mode) → void
OffsetCallBack(double offset) → void
OnOffsetChange(bool up, double offset) → void
callback when the indicator scroll out of edge up: indicate header or footer callback offset: the distance of indicator out of edge
OuterBuilder(Widget child) Widget
wrap child in outside,mostly use in add background color and padding
RefresherBuilder(BuildContext context, RefreshPhysics physics) Widget
a builder for attaching refresh function with the physics
ShouldFollowContent(LoadStatus status) bool
when viewport not full one page, for different state,whether it should follow the content
ValueCallback<int>(int titleIndex, int valueIndex) → void
VoidFutureCallBack() Future<void>
WheelChangedListener(int newIndex) → dynamic