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:jaspr/jaspr.dart'; | |
import 'package:signals/signals_core.dart'; | |
import 'watch.dart'; | |
import 'embedded_counter.dart'; | |
class Counter extends StatefulComponent { | |
const Counter({super.key}); | |
@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
#!/bin/bash | |
# This script applies Dart fixes to a project and commits the changes for each fix separately. | |
# It uses the `dart fix --dry-run` command to find the fixes that can be applied. | |
# For each fix, it applies the fix and commits the changes with a message indicating the fix code. | |
checkDart() { | |
if ! command -v dart &> /dev/null | |
then | |
echo "Dart could not be found. Please install Dart first." |