v1.1.0
blurred
blurred - 让您的 Flutter 小部件和图像模糊的最简单方法。
10喜欢 21近 30 天下载40Pub 分数
平台暂无数据
一种轻松模糊您的 Flutter 小部件和图像的方法。
{"sdk":"flutter"}{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
An easy way to blur your widgets and images.
blurred example
Blurred(
Text(
"Hello World!",
style: TextStyle(
fontSize: 72,
),
),
blurValue: 3,
)
Output:
Hello World
Check the example for BlurredImage example
Acrylic
To easily create a container with an acrylic effect.
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Acrylic Header',
theme: ThemeData.dark(),
home: MyHomePage(),
);
}
}
class MyHomePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Color.fromRGBO(12, 10, 30, 1),
body: Stack(
children: [
ListView.builder(
itemBuilder: (_, __) => ListTile(
leading: Icon(Icons.ac_unit_rounded, size: 30),
title: Text('Lorem Ipsum'),
),
),
SizedBox(
height: 80,
child: Acrylic(
child: Center(
child: Row(
mainAxisSize: MainAxisSize.min,
children: [
FlutterLogo(size: 40),
SizedBox(width: 10),
Text('Acrylic Header', style: TextStyle(fontSize: 40)),
],
),
),
),
),
],
),
);
}
}
Acrylic Example