gg_is_flutter 1.0.7
gg_is_flutter: ^1.0.7 copied to clipboard
Provides a function that detects if a directory contains a flutter project.
example/gg_is_flutter_example.dart
#!/usr/bin/env dart
// @license
// Copyright (c) 2019 - 2024 Dr. Gabriel Gatzsche. All Rights Reserved.
//
// Use of this source code is governed by terms that can be
// found in the LICENSE file in the root of this package.
import 'package:gg_is_flutter/gg_is_flutter.dart';
Future<void> main() async {
print(isFlutter); // true or false
}