Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions cloud_functions/macos/Runner/GoogleService-Info.plist

This file was deleted.

7 changes: 0 additions & 7 deletions cloud_functions/macos/firebase_app_id_file.json

This file was deleted.

96 changes: 0 additions & 96 deletions performance/lib/firebase_options.dart

This file was deleted.

74 changes: 0 additions & 74 deletions remote_config/lib/firebase_options.dart

This file was deleted.

4 changes: 2 additions & 2 deletions storage/lib/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import 'package:storage/src/page/home.dart';
import 'package:storage/src/page/library.dart';

class App extends StatelessWidget {
const App({Key? key}) : super(key: key);
const App({super.key});
// const App({Key? key, required this.camera}) : super(key: key);

@override
Widget build(BuildContext context) {
return MaterialApp(
initialRoute: '/',
routes: {
'/': (context) => HomeScreen(),
'/': (context) => const HomeScreen(),
'/library': (context) => const LibraryPage()
},
);
Expand Down
74 changes: 0 additions & 74 deletions storage/lib/firebase_options.dart

This file was deleted.

2 changes: 1 addition & 1 deletion storage/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ void main() async {
// final camera = cameras.first;

// runApp(App(camera: camera));
runApp(App());
runApp(const App());
}
4 changes: 2 additions & 2 deletions storage/lib/src/page/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ class _HomeScreenState extends State<HomeScreen> {
children: [
ElevatedButton(
onPressed: () async {
final _imageName = _image!.path.split('/').last;
final imageName = _image!.path.split('/').last;

// create a new reference in your Firebase Cloud Storage
final newImageRef =
_storage.child('images/$_imageName');
_storage.child('images/$imageName');

try {
// put a file at this references location
Expand Down
2 changes: 1 addition & 1 deletion storage/lib/src/page/library.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:flutter/material.dart';

/// Retrieving files from Firebase Storage is done in this widget
class LibraryPage extends StatefulWidget {
const LibraryPage({Key? key}) : super(key: key);
const LibraryPage({super.key});

@override
State<LibraryPage> createState() => _LibraryPageState();
Expand Down
Loading