SYMBOL INDEX (246 symbols across 72 files) FILE: example/lib/main.dart function main (line 4) | void main() FILE: example/lib/widgets/chat_input_box.dart class ChatInputBox (line 3) | class ChatInputBox extends StatelessWidget { method build (line 15) | Widget build(BuildContext context) FILE: example/lib/widgets/item_image_view.dart class ItemImageView (line 5) | class ItemImageView extends StatelessWidget { method build (line 10) | Widget build(BuildContext context) FILE: example/linux/flutter/generated_plugin_registrant.cc function fl_register_plugins (line 10) | void fl_register_plugins(FlPluginRegistry* registry) { FILE: example/linux/main.cc function main (line 3) | int main(int argc, char** argv) { FILE: example/linux/my_application.cc type _MyApplication (line 10) | struct _MyApplication { function my_application_activate (line 18) | static void my_application_activate(GApplication* application) { function gboolean (line 66) | static gboolean my_application_local_command_line(GApplication* applicat... function my_application_startup (line 85) | static void my_application_startup(GApplication* application) { function my_application_shutdown (line 94) | static void my_application_shutdown(GApplication* application) { function my_application_dispose (line 103) | static void my_application_dispose(GObject* object) { function my_application_class_init (line 109) | static void my_application_class_init(MyApplicationClass* klass) { function my_application_init (line 117) | static void my_application_init(MyApplication* self) {} function MyApplication (line 119) | MyApplication* my_application_new() { FILE: example/test/widget_test.dart function main (line 10) | void main() FILE: example/windows/flutter/generated_plugin_registrant.cc function RegisterPlugins (line 10) | void RegisterPlugins(flutter::PluginRegistry* registry) { FILE: example/windows/runner/flutter_window.cpp function LRESULT (line 50) | LRESULT FILE: example/windows/runner/flutter_window.h function class (line 12) | class FlutterWindow : public Win32Window { FILE: example/windows/runner/main.cpp function wWinMain (line 8) | int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, FILE: example/windows/runner/utils.cpp function CreateAndAttachConsole (line 10) | void CreateAndAttachConsole() { function GetCommandLineArguments (line 24) | std::vector GetCommandLineArguments() { function Utf8FromUtf16 (line 44) | std::string Utf8FromUtf16(const wchar_t* utf16_string) { FILE: example/windows/runner/win32_window.cpp function Scale (line 36) | int Scale(int source, double scale_factor) { function EnableFullDpiSupportIfAvailable (line 42) | void EnableFullDpiSupportIfAvailable(HWND hwnd) { class WindowClassRegistrar (line 59) | class WindowClassRegistrar { method WindowClassRegistrar (line 64) | static WindowClassRegistrar* GetInstance() { method WindowClassRegistrar (line 80) | WindowClassRegistrar() = default; function wchar_t (line 89) | const wchar_t* WindowClassRegistrar::GetWindowClass() { function LRESULT (line 157) | LRESULT CALLBACK Win32Window::WndProc(HWND const window, function LRESULT (line 176) | LRESULT function Win32Window (line 236) | Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept { function RECT (line 252) | RECT Win32Window::GetClientArea() { function HWND (line 258) | HWND Win32Window::GetHandle() { FILE: example/windows/runner/win32_window.h type Size (line 21) | struct Size { FILE: example_old/lib/main.dart function main (line 12) | void main() class MyApp (line 22) | class MyApp extends StatelessWidget { method build (line 26) | Widget build(BuildContext context) class SectionItem (line 39) | class SectionItem { class MyHomePage (line 47) | class MyHomePage extends StatefulWidget { method createState (line 51) | State createState() class _MyHomePageState (line 54) | class _MyHomePageState extends State { method build (line 70) | Widget build(BuildContext context) FILE: example_old/lib/sections/chat.dart class SectionChat (line 6) | class SectionChat extends StatefulWidget { method createState (line 10) | State createState() class _SectionChatState (line 13) | class _SectionChatState extends State { method build (line 24) | Widget build(BuildContext context) method chatItem (line 66) | Widget chatItem(BuildContext context, int index) FILE: example_old/lib/sections/chat_stream.dart class SectionStreamChat (line 6) | class SectionStreamChat extends StatefulWidget { method createState (line 10) | State createState() class _SectionStreamChatState (line 13) | class _SectionStreamChatState extends State { method build (line 24) | Widget build(BuildContext context) method chatItem (line 76) | Widget chatItem(BuildContext context, int index) FILE: example_old/lib/sections/embed_batch_contents.dart class SectionBatchEmbedContents (line 6) | class SectionBatchEmbedContents extends StatefulWidget { method createState (line 10) | State createState() class _SectionTextInputStreamState (line 14) | class _SectionTextInputStreamState extends State createState() class _SectionEmbedContentState (line 13) | class _SectionEmbedContentState extends State { method build (line 25) | Widget build(BuildContext context) FILE: example_old/lib/sections/response_widget_stream.dart class ResponseWidgetSection (line 7) | class ResponseWidgetSection extends StatefulWidget { method createState (line 11) | State createState() class _SectionTextInputStreamState (line 14) | class _SectionTextInputStreamState extends State { method build (line 36) | Widget build(BuildContext context) FILE: example_old/lib/sections/stream.dart class SectionTextStreamInput (line 9) | class SectionTextStreamInput extends StatefulWidget { method createState (line 13) | State createState() class _SectionTextInputStreamState (line 16) | class _SectionTextInputStreamState extends State { method build (line 36) | Widget build(BuildContext context) FILE: example_old/lib/sections/text_and_image.dart class SectionTextAndImageInput (line 10) | class SectionTextAndImageInput extends StatefulWidget { method createState (line 14) | State createState() class _SectionTextAndImageInputState (line 18) | class _SectionTextAndImageInputState extends State createState() class _SectionTextInputState (line 14) | class _SectionTextInputState extends State { method build (line 25) | Widget build(BuildContext context) FILE: example_old/lib/widgets/chat_input_box.dart class ChatInputBox (line 3) | class ChatInputBox extends StatelessWidget { method build (line 15) | Widget build(BuildContext context) FILE: example_old/lib/widgets/item_image_view.dart class ItemImageView (line 5) | class ItemImageView extends StatelessWidget { method build (line 10) | Widget build(BuildContext context) FILE: example_old/linux/flutter/generated_plugin_registrant.cc function fl_register_plugins (line 11) | void fl_register_plugins(FlPluginRegistry* registry) { FILE: example_old/linux/main.cc function main (line 3) | int main(int argc, char** argv) { FILE: example_old/linux/my_application.cc type _MyApplication (line 10) | struct _MyApplication { function my_application_activate (line 18) | static void my_application_activate(GApplication* application) { function gboolean (line 66) | static gboolean my_application_local_command_line(GApplication* applicat... function my_application_dispose (line 85) | static void my_application_dispose(GObject* object) { function my_application_class_init (line 91) | static void my_application_class_init(MyApplicationClass* klass) { function my_application_init (line 97) | static void my_application_init(MyApplication* self) {} function MyApplication (line 99) | MyApplication* my_application_new() { FILE: example_old/test/widget_test.dart function main (line 13) | void main() FILE: example_old/windows/flutter/generated_plugin_registrant.cc function RegisterPlugins (line 11) | void RegisterPlugins(flutter::PluginRegistry* registry) { FILE: example_old/windows/runner/flutter_window.cpp function LRESULT (line 50) | LRESULT FILE: example_old/windows/runner/flutter_window.h function class (line 12) | class FlutterWindow : public Win32Window { FILE: example_old/windows/runner/main.cpp function wWinMain (line 8) | int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, FILE: example_old/windows/runner/utils.cpp function CreateAndAttachConsole (line 10) | void CreateAndAttachConsole() { function GetCommandLineArguments (line 24) | std::vector GetCommandLineArguments() { function Utf8FromUtf16 (line 44) | std::string Utf8FromUtf16(const wchar_t* utf16_string) { FILE: example_old/windows/runner/win32_window.cpp function Scale (line 36) | int Scale(int source, double scale_factor) { function EnableFullDpiSupportIfAvailable (line 42) | void EnableFullDpiSupportIfAvailable(HWND hwnd) { class WindowClassRegistrar (line 59) | class WindowClassRegistrar { method WindowClassRegistrar (line 64) | static WindowClassRegistrar* GetInstance() { method WindowClassRegistrar (line 80) | WindowClassRegistrar() = default; function wchar_t (line 89) | const wchar_t* WindowClassRegistrar::GetWindowClass() { function LRESULT (line 157) | LRESULT CALLBACK Win32Window::WndProc(HWND const window, function LRESULT (line 176) | LRESULT function Win32Window (line 236) | Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept { function RECT (line 252) | RECT Win32Window::GetClientArea() { function HWND (line 258) | HWND Win32Window::GetHandle() { FILE: example_old/windows/runner/win32_window.h type Size (line 21) | struct Size { FILE: lib/src/config/constants.dart class Constants (line 3) | class Constants { FILE: lib/src/implement/gemini_implement.dart class GeminiImpl (line 14) | class GeminiImpl implements GeminiInterface { method batchEmbedContents (line 32) | Future?>?> batchEmbedContents( method chat (line 49) | Future chat( method countTokens (line 67) | Future countTokens( method embedContent (line 84) | Future?> embedContent( method info (line 102) | Future info({required String model}) method listModels (line 111) | Future> listModels() method text (line 120) | Future text( method textAndImage (line 139) | Future textAndImage({ method prompt (line 157) | Future prompt({ method streamChat (line 174) | Stream streamChat( method streamGenerateContent (line 190) | Stream streamGenerateContent( method promptStream (line 207) | Stream promptStream({ method cancelRequest (line 223) | Future cancelRequest() FILE: lib/src/implement/gemini_service.dart class GeminiService (line 11) | class GeminiService extends ApiInterface with GeminiExceptionHandler { method post (line 33) | Future post( method get (line 80) | Future get(String route) method cancelRequest (line 92) | Future cancelRequest() FILE: lib/src/init.dart class Gemini (line 33) | class Gemini implements GeminiInterface { method chat (line 189) | Future chat(List chats, method streamChat (line 217) | Stream streamChat( method countTokens (line 232) | Future countTokens(String text, method info (line 245) | Future info({required String model}) method listModels (line 251) | Future> listModels() method streamGenerateContent (line 259) | Stream streamGenerateContent(String text, method textAndImage (line 274) | Future textAndImage( method text (line 313) | Future text(String text, method batchEmbedContents (line 332) | Future?>?> batchEmbedContents(List texts, method embedContent (line 355) | Future?> embedContent(String text, method cancelRequest (line 368) | Future cancelRequest() method prompt (line 396) | Future prompt({ method promptStream (line 435) | Stream promptStream( FILE: lib/src/models/candidates/candidates.dart class Candidates (line 7) | class Candidates { method toJson (line 46) | Map toJson(Map json) method copyWith (line 54) | Candidates copyWith( method jsonToList (line 68) | List jsonToList(List list) FILE: lib/src/models/content/content.dart class Content (line 5) | class Content { method jsonToList (line 29) | List jsonToList(List list) method toJson (line 33) | Map toJson() FILE: lib/src/models/gemini_file/gemini_file_part.dart class GeminiFilePart (line 3) | class GeminiFilePart { method toJson (line 73) | Map toJson() method jsonToList (line 89) | List jsonToList(List list) FILE: lib/src/models/gemini_model/gemini_model.dart class GeminiModel (line 4) | class GeminiModel { method jsonToList (line 53) | List jsonToList(List list) method toJson (line 74) | Map toJson() FILE: lib/src/models/gemini_response/gemini_response.dart class GeminiResponse (line 4) | class GeminiResponse { method toJson (line 26) | Map toJson() method jsonToList (line 32) | List jsonToList(List list) FILE: lib/src/models/gemini_safety/gemini_safety.dart class SafetySetting (line 25) | class SafetySetting { FILE: lib/src/models/gemini_safety/gemini_safety_category.dart type SafetyCategory (line 21) | enum SafetyCategory { FILE: lib/src/models/gemini_safety/gemini_safety_threshold.dart type SafetyThreshold (line 22) | enum SafetyThreshold { FILE: lib/src/models/generation_config/generation_config.dart class GenerationConfig (line 25) | class GenerationConfig { method toJson (line 67) | Map toJson() method jsonToList (line 82) | List jsonToList(List list) FILE: lib/src/models/part/file_data_part.dart class FileDataPart (line 15) | class FileDataPart { method toJson (line 41) | Map toJson() FILE: lib/src/models/part/file_part.dart class FilePart (line 15) | class FilePart implements Part { method jsonToList (line 29) | List jsonToList(List list) method toJson (line 39) | Map toJson() FILE: lib/src/models/part/inline_data.dart class InlineData (line 16) | class InlineData { method toJson (line 57) | Map toJson() FILE: lib/src/models/part/inline_part.dart class InlinePart (line 17) | class InlinePart implements Part { method jsonToList (line 31) | List jsonToList(List list) method toJson (line 42) | Map toJson() FILE: lib/src/models/part/part.dart class Part (line 18) | abstract interface class Part { method jsonToList (line 51) | List jsonToList(List list) method toJson (line 56) | Map toJson(Part e) FILE: lib/src/models/part/text_part.dart class TextPart (line 14) | class TextPart implements Part { method jsonToList (line 29) | List jsonToList(List list) method toJson (line 39) | Map toJson() FILE: lib/src/models/parts/parts.dart class Parts (line 25) | @Deprecated('Please use Part instead.') method toJson (line 51) | Map toJson() method jsonToList (line 61) | List jsonToList(List list) FILE: lib/src/models/prompt_feedback/prompt_feedback.dart class PromptFeedback (line 20) | class PromptFeedback { method toJson (line 49) | Map toJson() method jsonToList (line 60) | List jsonToList(List list) FILE: lib/src/models/safety_ratings/safety_ratings.dart class SafetyRatings (line 21) | class SafetyRatings { method toJson (line 52) | Map toJson() method jsonToList (line 64) | List jsonToList(List list) FILE: lib/src/repository/api_interface.dart class ApiInterface (line 11) | abstract class ApiInterface { method post (line 28) | Future post( method get (line 42) | Future get(String route) FILE: lib/src/repository/gemini_interface.dart class GeminiInterface (line 5) | abstract class GeminiInterface { method listModels (line 9) | Future> listModels() method info (line 14) | Future info({required String model}) method text (line 20) | Future text( method batchEmbedContents (line 36) | Future?>?> batchEmbedContents( method embedContent (line 44) | Future?> embedContent( method countTokens (line 53) | Future countTokens( method streamGenerateContent (line 65) | Stream streamGenerateContent( method streamChat (line 74) | Stream streamChat( method chat (line 84) | Future chat( method textAndImage (line 93) | Future textAndImage({ method cancelRequest (line 102) | Future cancelRequest() method prompt (line 106) | Future prompt({ method promptStream (line 115) | Stream promptStream({ FILE: lib/src/utils/gemini_data_builder.dart class GeminiDataBuilder (line 8) | class GeminiDataBuilder { method buildTextData (line 9) | Map buildTextData(String text) method buildTextAndImageData (line 19) | Map buildTextAndImageData( method buildChatData (line 39) | Map buildChatData( method buildPromptData (line 54) | Map buildPromptData(List parts) method buildEmbedData (line 60) | Map buildEmbedData(String text) method buildBatchEmbedData (line 69) | Map buildBatchEmbedData(List texts) FILE: lib/src/utils/gemini_exception.dart class GeminiException (line 14) | class GeminiException implements Exception { method toString (line 34) | String toString() FILE: lib/src/utils/gemini_exception_handler_mixin.dart function handler (line 36) | Future handler(Future Function() request) FILE: lib/src/utils/gemini_model_manager.dart class GeminiModelManager (line 9) | class GeminiModelManager { method resolveModelName (line 15) | Future resolveModelName({ method _listModels (line 37) | Future> _listModels() method _findModel (line 43) | String? _findModel(String modelName) method _findFallbackModel (line 66) | String _findFallbackModel(String? userModel, String expectedModel) method _logModelNotFound (line 81) | void _logModelNotFound(String modelName) method _compareModelVersions (line 86) | int _compareModelVersions(GeminiModel a, GeminiModel b) method _extractVersion (line 92) | double _extractVersion(String name) method _findBestFallback (line 97) | String? _findBestFallback(String? userModel, String expectedModel) method _findModelByPatterns (line 112) | String? _findModelByPatterns(List patterns) FILE: lib/src/utils/gemini_request_handler.dart class GeminiRequestHandler (line 7) | class GeminiRequestHandler { method executeRequest (line 13) | Future executeRequest({ method executeStreamRequest (line 31) | Stream executeStreamRequest({ method _clearTypeProvider (line 51) | void _clearTypeProvider() method _setTypeProviderLoading (line 52) | void _setTypeProviderLoading(bool loading) FILE: lib/src/utils/gemini_response_parser.dart class GeminiResponseParser (line 10) | class GeminiResponseParser { method parseGenerateResponse (line 13) | Candidates? parseGenerateResponse(Map responseData) method parseBatchEmbeddingResponse (line 16) | List?>? parseBatchEmbeddingResponse( method processStreamResponse (line 23) | Stream processStreamResponse( method _parseStreamLines (line 49) | Stream _parseStreamLines(String response, method _tryParseCandidate (line 66) | Candidates? _tryParseCandidate(String jsonStr) method _cleanStreamResponse (line 76) | String _cleanStreamResponse(String response, bool isFirst) FILE: test/features/chat_test.dart function main (line 6) | void main() FILE: test/features/count_tokens_test.dart function main (line 6) | void main() FILE: test/features/info_test.dart function main (line 6) | void main() FILE: test/features/list_models_test.dart function main (line 6) | void main() FILE: test/features/text_test.dart function main (line 6) | void main() FILE: test/flutter_gemini_test.dart function main (line 7) | void main()