This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //------------------------------------------------ | |
| // | |
| // iwave_paint | |
| // | |
| // demonstrates the generation and interaction of | |
| // waves around objects by allowing the user to | |
| // paint obstructions and source, and watch iwave | |
| // propagation. | |
| // | |
| // author: Jerry Tessendorf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| class Saturated extends StatelessWidget { | |
| const Saturated({super.key, this.saturation = 1, this.child}); | |
| final double saturation; | |
| final Widget? child; | |
| @override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Press add to new elements to the list | |
| // Press the other button to change the direction from vertial to horizontal | |
| // Observe that the animations break and that the content won't scroll either | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension Pipe<T> on Object { | |
| T operator >(T Function(Object) f) => f(this); | |
| } | |
| extension Compose<IN, MID> on MID Function(IN input) { | |
| OUT Function(IN) operator &<OUT>(OUT Function(MID) f) => | |
| (input) => f(this.call(input)); | |
| } | |
| String toLowerCase(String input) => input.toLowerCase(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright notice? | |
| from .AbstractScrapper import AbstractScrapper | |
| from ..ScrappersManager import ScrappersManager | |
| class TexturesOneScrapper(AbstractScrapper): | |
| source_name = "Textures.one" | |
| home_url = "https://www.textures.one" | |
| # There is probably something rotten about doing it this way, but I couldn't really figure out another way |