FLUTTER ECOSYSTEM

Maopy/flutter-clip-shadow

由裁剪框投射的阴影。支持 BoxShadow 类的所有属性!

flutter-clip-shadow 项目封面
Stars
8
Forks
11
最近推送(UTC)
2021年6月29日
项目状态
已归档
Pang Jyu Mou GitHub avatar
GITHUB User

Pang Jyu Mou ↗

走在前端的前端

BaiduBeijing
语言DartObjective-CJava

技术话题

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

clip_shadow

pub package

Paint clip widgets with shadows.

Getting Started

Add dependency to pubspec.yaml
[...]
dependencies:
  clip_shadow: any
[...]
Install the package using Terminal
$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

import
import 'package:clip_shadow/clip_shadow.dart';
new ClipShadow(
  clipper: CustomClipper(...)
  boxShadow: [
    new BoxShadow(...)
  ]
  child: new Container(...)
)

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.