v4.3.0cart_stepper
Ein vollständig anpassbarer Flutter-Widget zur Zählung. Kann in E-Commerce-Apps zur Erhaltung der Warenkorbanzahl verwendet werden.
69Likes 43230-Tage-Downloads160Pub-Punkte
AndroidiOSWebmacOSWindowsLinux
Eine numerische Schritt-Eingabe für Flutter
{"sdk":"flutter"}>=0.17.0{"sdk":"flutter"}anyEnglischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
A fully customizable Flutter Widget to get count. It can be applicable in e-commerce apps for getting cart count.
This package is Forked from AYNStepperView
Preview
CartStepperStyle:
Create a widget to show and modify a number:
Widget _buildStepper() {
return CartStepperInt(
count: _counter,
size: 30,
style: CartStepperTheme.of(context).copyWith(activeForegroundColor: Colors.purple,)
didChangeCount: (count) {
setState(() {
_counter = count;
});
},
);
}
// from 3.x to 4.x
// CartStepperStyle.
deActiveForegroundColor => foregroundColor
deActiveBackgroundColor => backgroundColor