For more very small changes, you'll found them in the video.
This file contains 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:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
This file contains 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 necessary packages | |
import 'package:flutter/material.dart'; | |
import 'package:google_generative_ai/google_generative_ai.dart'; | |
// Replace with your actual API key | |
const apiKey = 'YOUR_API_KEY'; | |
// Main app widget | |
class MyChatApp extends StatefulWidget { | |
@override |
NumbersApp which swaps two int values is for visualizing "Keys under the hood" -- Blog post on medium
The complete code of example how flutter render widgets : Learn how Flutter render widgets
This is full code of Cloud Functions of this blogpost : Schedule Cloud Functions with Cloud Tasks (for Document TTL) Part 1