DUIButton class

Constructors

DUIButton()

Properties

buttonMinHeight double
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smallButtonMinHeight double
final

Methods

appBarActionButtonCircle(BuildContext context, IconData icon, {Function? onTap, bool loading = false}) Widget
backButtonCircle(BuildContext context, {Function? onTap, bool filled = false}) Widget
button(BuildContext context, String? text, Function? onPressed, {IconData? icon, Widget? leading, Widget? trailing, Widget? content, Color? color, Color? textColor, bool loading = false, double? borderRadius}) Widget
buttonMinPriceWidget(BuildContext context, {double? minPrice, double? currentPrice, required String addMoreToRequestText}) Widget
buttonPriceTrailing(BuildContext context, double? price, {required String freeText, required String amountInEurosText}) Widget
buttonQtyLeading(BuildContext context, int? qty) Widget
checkbox(bool isSelected, dynamic onChange(bool), BuildContext context, {Color? color, Color? borderColor}) Widget
dataSelector(BuildContext context, String? title, String? headerTitle, dynamic onChange(), {bool loading = false, bool forceDark = false}) Widget
iconButton(BuildContext context, IconData icon, {Function? onTap, bool filled = false, Color? iconColor}) Widget
noBgButton(BuildContext context, String? text, Function? onPressed, {IconData? icon, Widget? leading, Widget? trailing, Widget? content, Color? color, bool loading = false}) Widget
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
outlineButton(BuildContext context, String? text, Function? onPressed, {IconData? icon, Widget? leading, Widget? trailing, Widget? content, Color? color, Color? bgColor, bool loading = false, double? borderRadius}) Widget
shadowButton(BuildContext context, String? text, Function? onPressed, {IconData? icon, Widget? leading, Widget? trailing, Widget? content, Color? color, bool loading = false, double? borderRadius}) Widget
slidingControl(int initialValue, dynamic onChange(int), BuildContext context, {bool isStretch = true, required Map<int, Widget> children, double height = 60}) Widget
smallButton(BuildContext context, String? text, Function? onPressed, {IconData? icon, Color? color, Color? bgColor, bool loading = false, bool expand = false, double? borderRadius}) Widget
starRating(BuildContext context, double rating, {int? length, Color? color, double? iconSize, Widget? customStarIcon, Widget? customEmptyStarIcon, Widget? customHalfStarIcon, dynamic onChange(double rating)?, double? spacing, bool? allowHalfRating}) Widget
toggle(bool isSelected, dynamic onChange(bool), BuildContext context) Widget
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited