Michal Šrůtek
Michal Šrůtek
- Added .gitignore for the example iOS project - Added `const` keyword to improve performance - Improved null-safety handling - Switched to built-in date compare function
The external parameter name is duplicated and therefore redundant.
Let's say I have the following code. ```dart import 'dart:math'; import 'package:charts_painter/chart.dart'; import 'package:flutter/material.dart'; void main() => runApp(const App()); class App extends StatelessWidget { const App({Key? key}) : super(key: key);...
We can use synthesized init for `struct`-s and get rid of the manual init of view models.
Use [Optional Binding](https://developer.apple.com/documentation/swift/optional#Optional-Binding) and return `nil` - common abbreviation for `Optional.none`.