mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
simple_shader: Add a README (#1669)
This commit is contained in:
@@ -14,7 +14,7 @@ class MyApp extends StatelessWidget {
|
||||
return MaterialApp(
|
||||
title: 'Simple Shader Demo',
|
||||
theme: ThemeData(
|
||||
primarySwatch: Colors.blue,
|
||||
colorSchemeSeed: Colors.blue,
|
||||
useMaterial3: true,
|
||||
),
|
||||
home: const MyHomePage(),
|
||||
@@ -42,7 +42,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text('Simple Shader'),
|
||||
title: const Text('Simple Shader Demo'),
|
||||
),
|
||||
body: FutureBuilder<ui.FragmentProgram>(
|
||||
future: program,
|
||||
|
||||
Reference in New Issue
Block a user