File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change
1
+ # ` simple_shader `
2
+
3
+ A simple [ Flutter fragment shaders] [ ] sample project.
4
+
5
+ [ Flutter fragment shaders ] : https://docs.flutter.dev/development/ui/advanced/shaders
6
+
7
+ ![ Screenshot of the ` simple_shader ` app] ( screenshot.png )
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class MyApp extends StatelessWidget {
14
14
return MaterialApp (
15
15
title: 'Simple Shader Demo' ,
16
16
theme: ThemeData (
17
- primarySwatch : Colors .blue,
17
+ colorSchemeSeed : Colors .blue,
18
18
useMaterial3: true ,
19
19
),
20
20
home: const MyHomePage (),
@@ -42,7 +42,7 @@ class _MyHomePageState extends State<MyHomePage> {
42
42
Widget build (BuildContext context) {
43
43
return Scaffold (
44
44
appBar: AppBar (
45
- title: const Text ('Simple Shader' ),
45
+ title: const Text ('Simple Shader Demo ' ),
46
46
),
47
47
body: FutureBuilder <ui.FragmentProgram >(
48
48
future: program,
You can’t perform that action at this time.
0 commit comments