Michael Debertol
Michael Debertol
This removes the ability to use `system` to open files. Instead we use `Process.runSync`. Quoting the [manpage for `system`](https://man.archlinux.org/man/system.3): > Any user input that is employed as part of command...
Since in Dart oftentimes the type is not visible in the code (i.e. when making use of type inference), it is sometimes not straightforward to find the type written out...
With the use of `SwitchListTile` the entire ListTile is interactive, and tapping anywhere on the Tile will trigger the switch. Note that I've renamed the `leading` parameter to `secondary` to...
This should give us 10 additional pub points :smiley:
Changes I made: Example: - removed `_setTargetPlatformForDesktop`, as it is no longer required. - use `Theme.of(context)` instead of `Provider.of(context)`, because that returns the actual `ThemeData` object, is probably already familiar...
According to the provider documentation: > If you already have an object instance and want to expose it, you should use the .value constructor of a provider. > Failing to...
This is actually a regression from the flutter_material_color_picker package v1.0.4 (https://github.com/Pyozer/flutter_material_color_picker/commit/e6e638b7cef89d6c2fe62adaa49028cc5d898a14). To be able to display the color picker in a dialog inside a `SingleChildScrollView`, `shrinkWrap` must be true.
This PR aims to improve the performance of `copyWith` calls, even though performance parity with a naive implementation was still not achieved. To measure performance I added a benchmark to...
Closes #734. [Starting from dart 2.18 ](https://github.com/dart-lang/sdk/issues/48913) the analyzer will warn you if you do not use the result of calling a callable class whose `call` method is annotated with...
**Is your feature request related to a problem? Please describe.** Sometimes when you get distracted you might forget to actually assign the result of calling `copyWith` to the variable you...