lazy_ui_utils library

Classes

About
Lazy About - let you fill in fields and generate a popup
LabeledSwitch
SpinWidget
Lazy SpinWidget
Switch

Enums

SwitchType

Constants

defaultBorderWidth → const double
defaultPadding → const double
defaultRadius → const double

Functions

borderRadius(double radius) BorderRadius
boxDecoration({double radius = defaultRadius, double borderWidth = defaultBorderWidth, Color color = Colors.red}) BoxDecoration
buttonStyleRound({double padding = defaultPadding, double radius = defaultRadius}) ButtonStyle
buttonUrl(BuildContext context, {String? text, String? url}) Widget?
Create a button that will open URL on click
download({required String filename, required List<int> content}) → void
Trigger browser to save to filename with content
htmlWindowOnClose(Function action) → void
Setup a callback action on browser unload
openUrl(String string) → void
Provided by 'package:url_launcher/url_launcher.dart'
outlinedTextButton({double margin = defaultPadding, double radius = defaultRadius, ButtonStyle? style, required Widget child, required void onPressed()?}) Widget
padAll([double? padding]) EdgeInsets
table({List<TableRow> children = const [], TableBorder? border, TableColumnWidth defaultColumnWidth = const IntrinsicColumnWidth()}) Table
tableCell({TableCellVerticalAlignment verticalAlignment = TableCellVerticalAlignment.middle, required Widget child}) TableCell
textField(BuildContext context, {String? text}) Widget?
Create text field
textPadding(String data, {EdgeInsets padding = const EdgeInsets.all(defaultPadding), TextAlign? textAlign, TextStyle? style}) Padding
textStyleBodyL(BuildContext context) TextStyle?
textStyleBodyM(BuildContext context) TextStyle?
textStyleBodyS(BuildContext context) TextStyle?
textStyleHeadlineL(BuildContext context) TextStyle?
textStyleHeadlineM(BuildContext context) TextStyle?
textStyleHeadlineS(BuildContext context) TextStyle?
themeProvider({bool debugShowCheckedModeBanner = false, required BuildContext context, required Widget child}) → ThemeProvider
Wrapper function to setup a default ThemeProvider from 'package:theme_provider/theme_provider.dart'