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 { produce, produceWithPatches, enablePatches } from "immer"; | |
| enablePatches(); | |
| describe("Immer nested produce with produceWithPatches", () => { | |
| const initialState = { name: "John", age: 30 }; | |
| it("should capture direct changes in patches", () => { | |
| const [result, patches] = produceWithPatches(initialState, (draft) => { | |
| draft.name = "Jane"; |
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'; | |
| import 'package:provider/provider.dart'; | |
| void main() => runApp(const MyApp()); | |
| /// Data model for managing the image display settings. | |
| class ImageDisplaySettings extends ChangeNotifier { | |
| static const String _imageUrl = | |
| 'https://www.gstatic.com/flutter-onestack-prototype/genui/example_1.jpg'; |
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
| adlam | |
| ahom | |
| anatolian-hieroglyphs | |
| arabic | |
| armenian | |
| avestan | |
| balinese | |
| bamum | |
| bassa-vah | |
| batak |
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
| 42dotSans-Light | |
| ABeeZee-Italic | |
| ABeeZee-Regular | |
| ADLaMDisplay-Regular | |
| AROneSans-Regular | |
| Abel-Regular | |
| AbhayaLibre-Bold | |
| AbhayaLibre-ExtraBold | |
| AbhayaLibre-Medium | |
| AbhayaLibre-Regular |
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
| family | slnt | ital | italic | |
|---|---|---|---|---|
| Afacad Flux | yes | no | no | |
| Bitcount | yes | no | no | |
| Bitcount Grid Double | yes | no | no | |
| Bitcount Grid Single | yes | no | no | |
| Bitcount Prop Double | yes | no | no | |
| Bitcount Prop Single | yes | no | no | |
| Bitcount Single | yes | no | no | |
| Cairo | yes | no | no | |
| Cairo Play | yes | no | no |
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
| Advent Pro | |
| Afacad | |
| Albert Sans | |
| Alegreya | |
| Aleo | |
| Alumni Sans | |
| Alumni Sans SC | |
| Ancizar Sans | |
| Ancizar Serif | |
| Andada Pro |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Border, Overflow and Outline Demos</title> | |
| <style> | |
| body { | |
| background: #ddd; | |
| color: white; |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Text Width Demo</title> | |
| <style> | |
| body { | |
| font-family: Arial, sans-serif; | |
| font-size: 16px; |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 10.
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
| family,subsets_count,subsets | |
| "Google Sans Code",11,"adlam; canadian-aboriginal; cherokee; latin; latin-ext; math; old-permic; symbols; symbols2; syriac; vietnamese" | |
| "Open Sans",10,"cyrillic; cyrillic-ext; greek; greek-ext; hebrew; latin; latin-ext; math; symbols; vietnamese" | |
| "Cascadia Mono",10,"arabic; braille; cyrillic; cyrillic-ext; greek; hebrew; latin; latin-ext; symbols2; vietnamese" | |
| "Cascadia Code",10,"arabic; braille; cyrillic; cyrillic-ext; greek; hebrew; latin; latin-ext; symbols2; vietnamese" | |
| "Roboto",9,"cyrillic; cyrillic-ext; greek; greek-ext; latin; latin-ext; math; symbols; vietnamese" | |
| "M PLUS Rounded 1c",9,"cyrillic; cyrillic-ext; greek; greek-ext; hebrew; japanese; latin; latin-ext; vietnamese" | |
| "M PLUS 1p",9,"cyrillic; cyrillic-ext; greek; greek-ext; hebrew; japanese; latin; latin-ext; vietnamese" | |
| "LXGW WenKai TC",9,"chinese-traditional; cyrillic; cyrillic-ext; greek; greek-ext; latin; latin-ext; lisu; vietnamese" | |
| "LXGW WenKai Mono TC",9,"chinese-traditional; cyrillic; cyrillic-ext; greek; gre |
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
| Roboto Flex Variable Font Analysis | |
| ================================== | |
| Total number of variation axes: 13 | |
| Raw tag analysis (numeric -> 4-char tag): | |
| 1869640570 -> 'opsz' | |
| 2003265652 -> 'wght' | |
| 1196572996 -> 'GRAD' | |
| 2003072104 -> 'wdth' |
NewerOlder