v2.0.1drag_ball
iPhoneのAssistiveTouchに似たFlutterパッケージ。
53いいね 98130日間ダウンロード150Pub ポイント
AndroidiOSWebmacOSWindowsLinux
Flutterパッケージ。インドネシアの電子商取引ウィジェットまたはiPhoneのAssistiveTouchに似たものからインスパイアされています。
{"sdk":"flutter"}{"sdk":"flutter"}以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
flutter badge paypal
qr-paypal
A flutter package, inspiration Indonesian e-commerce widget or similiar AssistiveTouch on Iphone.
Dragball(
ball: const FlutterLogo(
size: 70,
),
initialPosition: DragballPosition.defaultPosition(),
onTap: () => debugPrint('Dragball Tapped'),
onPositionChanged: (DragballPosition position) =>
debugPrint(position.toString()),
child: Scaffold(
appBar: AppBar(
title: const Text('Dragball Example'),
),
body: ListView.builder(
padding: const EdgeInsets.all(20),
itemBuilder: (BuildContext context, int index) {
return Padding(
padding: const EdgeInsets.only(bottom: 20),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: const [
SizedBox(
width: 100,
height: 30,
child: DecoratedBox(
decoration: BoxDecoration(
color: Color(0xFFE5E5E5),
borderRadius: BorderRadius.all(Radius.circular(15)),
),
),
),
SizedBox(height: 16),
SizedBox(
width: double.infinity,
height: 160,
child: DecoratedBox(
decoration: BoxDecoration(
color: Color(0xFFE5E5E5),
borderRadius: BorderRadius.all(Radius.circular(15)),
),
),
),
SizedBox(height: 16),
SizedBox(
width: 200,
height: 30,
child: DecoratedBox(
decoration: BoxDecoration(
color: Color(0xFFE5E5E5),
borderRadius: BorderRadius.all(Radius.circular(15)),
),
),
),
],
),
);
},
itemCount: 5,
),
),
);
account avatar
Farhan Fadila
📫 How to reach me: farhan.fadila1717@gmail.com