mirror of
https://github.com/flutter/samples.git
synced 2026-06-12 17:28:52 +00:00
Tidyup varfont_shader_puzzle (#1629)
* Tidyup `varfont_shader_puzzle` * Add a rebuild script and a test * Simplify fragment shaders * Drop web * Enable `beta` CI * make it `beta` inclusive * Pull out the program loading code
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// Copyright 2023 The Flutter team. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:math';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -203,7 +204,7 @@ class _PageWidthState extends SinglePageState {
|
||||
pageConfig: widget.pageConfig,
|
||||
numTiles: 16,
|
||||
puzzleNum: 2,
|
||||
shaderKey: 'bw_split',
|
||||
shader: Shader.bwSplit,
|
||||
shaderDuration: 2000,
|
||||
tileShadedString: 'S',
|
||||
tileShadedStringPadding: EdgeInsets.only(
|
||||
|
||||
Reference in New Issue
Block a user