v1.1.0
blurred
blurred - The easiest way to blur your flutter widgets and images.
10Likes 4630-day downloads40Pub points
Platforms unavailable
An easy way to blur your flutter widgets and images.
English project snapshot. Visit GitHub for the latest content.
An easy way to blur your widgets and images.
Blurred(
Text(
"Hello World!",
style: TextStyle(
fontSize: 72,
),
),
blurValue: 3,
)
Output:
Check the example for BlurredImage example
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)),
],
),
),
),
),
],
),
);
}
}
Dependency list 2 items
{"sdk":"flutter"}{"sdk":"flutter"}Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗