แพ็คเกจ Flutter สำหรับ Circle ที่สามารถเลือกได้ด้วยแอนิเมชั่น

ลองใช้เครื่องมือของเราเพื่อกำจัดปัญหา

แพ็คเกจ Flutter สำหรับ Circle ที่สามารถเลือกได้ด้วยแอนิเมชั่น

selectable_circle.A Flutter package สำหรับ Circle ที่สามารถเลือกได้ด้วยภาพเคลื่อนไหว

วิธีใช้

SelectableCircle( width: 80.0, onSelected: () { setState(() { _isSelected = !_isSelected; }); }, child: Icon(Icons.star), );

ภาพหน้าจอ



พารามิเตอร์

/// the width and height of the CircleWidget final double width; /// is called when the circle is tapped final VoidCallback onSelected; /// child displayed on top of the circle final Widget child; /// widget should be displayed as selected final bool isSelected; /// Color of the circle final Color color; /// borderColor of the circle final Color borderColor; /// Color of the circle when selected final Color selectedColor; /// Color of the border when selected final Color selectedBorderColor; /// widget that is displayed below the Circle for descriptions final Widget bottomDescription; /// changes the select animation /// /// Possible Values: /// simple: no animation, only selectedColor is used /// animatedCircle: Animation is used (default) /// check: Check Icon Animation is used final SelectMode selectMode;

ดาวน์โหลดรายละเอียด:

ผู้เขียน: aulunatic

fxnetworks com เปิดใช้งาน xbox one

GitHub: https://github.com/autlunatic/flutter_selectable_circle

#กระพือ #โผ

ดูสิ่งนี้ด้วย: