liquid library

Classes

DrawFillCircle
DrawStrokeCircle
LAlert
Create an alert box
LAlertHeading
Heading for LAlert
LAlphaNumericValidator
A Alphanumeric validator
LAmericanExpressCardValidator
An AmericanExpress Card Validator
LAnimatedBox
LAnimatedModel
A wrapper around LModel for showing entry and exit animation
LBadge
Creates a badge of Widget type
LBox
LBoxAlignment
LBoxDecoration
LBoxDimension
LBoxEdgeInsets
LBoxVisibility
used in LBox and LColumn for hiding (false) or showing(true) of the child and children respectively on each LBreakPoint
Create a single Item of the BreadCrumb widget
Create a BreadCrumb widget
LButton
LButtonGroup
Group a series of buttons together on a single line with the button group,
LCard
A card is a flexible and extensible content container. It includes options for header LCardHeader and footer LCardFooter, LCardBody, contextual background colors, and powerful display options.
LCardBody
Creates LCard's body with title, subTitle, titleStyle, padding, titlemargin
LCardFooter
LCard's Footer
LCardHeader
LCard's header
LCardImage
LCard's image
LCarousel
A slideshow component for cycling through elements—images or slides of text—like a carousel.
LCarouselCaption
Add captions to your slides easily with the LCarouselCaption element
LCarouselItem
Add a new Slide or item to LCarousel
LCircularProgressIndicator
Displays Circular progress indicator LCircularProgressIndicator.
LCollapse
A widget that can toggle the visibility of content/child and can be controlled programmatically
LCollapseState
LColumn
LColumnRaw
LCombinedValidator<T>
A Combined Validator that combines multiple validator and based on LCombinedValidateType verifiy its candidate
LCommonEmailValidator
Common Email Validator
LCreditCardValidator
Matches only Visa, MasterCard, Discover, JCB, AmericanExpress, DinersClub For other cards use LRegexValidator along with LCombinedValidator
LDinersClubValidator
A DinersClub Validator
LDiscoverCardValidator
A DiscoverClub Validator
Toggle contextual overlays for displaying lists of links and more with the Liquid dropdown plugin LDropdown. Dropdowns are toggleable, contextual overlays for displaying lists of links and more.
LDropdown menu contents.
LDuplicateStringValidator
A Duplicate String Validator
LEmailValidator
An Email Validator
LExpansionPanel
An expansion panel. It has a title, leading, subtitle, caption and a collapseChild and can be either expanded or collapsed. The body of the panel is only visible when it is expanded.
LFlatButton
A button without elevation.
LForm
Creates a container for form fields. /// An optional container for grouping together multiple form field widgets (e.g. TextField widgets). The child argument must not be null.
LFormField<T>
Creates a single form field.
LFormFieldState<T>
The current state of a LFormField. Passed to the LFormFieldBuilder method for use in constructing the form field's widget.
LFormManager
An Effecient way for getting LFormState
LFormState
State associated with a LForm widget.
LGrowSpinner
Repeatedly growing spinner.
LHeaderTag
Add tags LHeaderTag
LIconButton
LButton with icon
LIPv4Validator
An IPv4 Address Validator
LIPv6Validator
An IPv6 Address Validator
LiquidAlertTheme
LiquidApp
LiquidBadgeTheme
LiquidButtonTheme
LiquidCollapseTheme
LiquidColors
LiquidDropdownItemTheme
LiquidDropdownTheme
LiquidGradients
LiquidStateManager
LiquidStates
LiquidTheme
LiquidThemeData
LiquidTypography
LJCBCardValidator
A JCBCardValidator Validator
LListGroup
List groups are a flexible and powerful component for displaying a series of content. Modify and extend them to support just about any content within.
LListItem
A Wrapper around ListTile to get additional features
LMasterCardValidator
A Master Card validator
LModel
Add dialogs to your apps for lightboxes, user notifications, or completely custom content.
LModelBody
LModel body content
LModelDialog
Dialogs for lightboxes, user notifications, or completely custom content.
LModelFooter
A footer for LModel to include extra actions
LModelHeader
LModelHeader display a header with title text and an optional onClose callback on LModel
LOutlineButton
Button with outline. LOutlineButton
LOverlayManager<T extends State<StatefulWidget>>
LProgressIndicator
Displays Linear progress indicator LProgressIndicator.
LRaisedButton
LButton with elevation
LRegexValidator
Warning Validators expect the candidate is Already sanatized
LRequiredValidator
A Required Validator
LResponsiveBuilder
Creates a widget that builds according to breakpoint.
LRow
LRowAxis
used in LRow for deciding the flex direction for the columns on each LBreakPoint
LRowRaw
LScrollSpy
LScrollSpy can help in tracking certain elements and which element the user's screen is currently centered on.
LScrollSpyController
A Controller for LScrollSpy which is necessary to handle scroll position or scrolling to a particular child id
LSlugValidator
A Slug Validator
LSmoothSplashFactory
LSpanStyle
A StyleWrapper class for applying styles, tranformation, adding events or semanticsLabel
LSpanToken
Tokenized styleClass
LSpinner
Liquid LSpinner can be used to show the loading state in your projects
LStyleBlock
A StyleWrapper for building LSpanStyle Lazily or Eagerly
LText
The LText widget displays text that uses multiple different styles. The text to display is described using a series of styleClass, and each of which has an associated style LStyleBlock that is used for parsing of associated style. The text might break across multiple lines or might all be displayed on the same line depending on the layout constraints.
LTextFormField
A FormField that contains a TextField.
LTextSpanBuilder
Builder class that builds LText with all the applied styleClass
LTextStyleProvider
LUnCommonEmailValidator
UnCommon Email Validator
LURLValidator
A URL Validator
LValidator<T>
Validators expect the candidate is Already sanatized
LVisaCardValidator
A Visa Card Validator
ModelHandler
Model Handler is a Wrapper class for managing opened LModel, All LModel's states are handle by LiquidStateManager

Extensions

ColorExtension
LButtonThemeExtension
MapExtension
MediaQueryDataExtension
TextStyleExtension

Constants

kLGBreakPoint → const double
992.0
kMDBreakPoint → const double
768.0
kSMBreakPoint → const double
576.0
kXLBreakPoint → const double
1200.0

Properties

kLiquidDefaultStyleSheet Map<String, LStyleBlock>
Default Style Sheet for general usecases
final
lShowLogs bool
show Liquid log messages
read / write

Functions

buildTypographyStyleBlocks(LiquidTypography typography) Map<String, LStyleBlock>
typography styleSheet builder based on LiquidTypography Generates below styleClasses
showLModel(BuildContext context, {LModel builder(BuildContext context), Tween<Offset> positionTween, Color backdropColor, bool barrierDismissable = true}) → void
A utility function for displaying LModel on the screen.
textCapitalize(String text) String
A Text Capitalization Function

Enums

FillMode
LBreakPoint
BreakPoint
LCombinedValidateType
LElementShape
LElementSize
LElementType
LGridMode
LRaisedButtonPushAction

Typedefs

ItemExtentBuilder = double Function(int, String)
LFormFieldBuilder<T> = Widget Function(LFormFieldState<T> field)
Signature for building the widget representing the form field.
LFormFieldSetter<T> = void Function(T newValue)
Signature for being notified when a form field changes value.
LTextStyleLazyBuilder = LSpanStyle Function(Map<String, String> args)
RecognizerHandler = GestureRecognizer Function(Map<String, String> attrs)
TextTransformer = String Function(String)