v0.1.0
image_ink_well
Image InkWell Flutter 插件。此提供矩形、圓角矩形、圓形類型的 InkWell。
15喜歡 27近 30 天下載25Pub 分數
平台暫無資料
Image InkWell Flutter 擴充套件。
以下為英文專案原文快照,最新內容請造訪 GitHub。
Image InkWell Flutter plugin.
dependencies:
image_ink_well: ^0.1.0
import 'package:image_ink_well/image_ink_well.dart';
// rectangle image inkwell
ImageInkWell(
onPressed: () {
print('onPressed');
},
width: 300,
height: 180,
image: NetworkImage(
'https://images.unsplash.com/photo-1547651196-4bd31258de69?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60'),
splashColor: Color(0x32ff0000),
)
// rounded rectangle image inkwell
RoundedRectangleImageInkWell(
onPressed: () {
print('onPressed');
},
width: 300,
height: 150,
borderRadius: BorderRadius.only(
topLeft: const Radius.circular(20),
topRight: const Radius.circular(20),
bottomLeft: const Radius.circular(20)),
image: NetworkImage(
'https://images.unsplash.com/photo-1547332184-070705bccbd3?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60'),
)
// circle image inkwell
CircleImageInkWell(
onPressed: () {
print('onPressed');
},
size: 200,
image: NetworkImage(
'https://images.unsplash.com/photo-1547651619-238e04d07889?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60'),
splashColor: Colors.white24,
)
依賴清單 1 項
{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗