generative_ai_ui_builder 0.0.2 copy "generative_ai_ui_builder: ^0.0.2" to clipboard
generative_ai_ui_builder: ^0.0.2 copied to clipboard

A Flutter plugin that uses Google Gemini generative AI to turn natural language prompts into Flutter UI code. Ideal for rapid prototyping and AI-assisted app development.

Generative AI UI Builder #

A Flutter plugin that leverages Google Gemini generative AI to convert natural language prompts into Flutter UI code.

Features #

  • Generate Flutter widget code from plain English prompts
  • Integrates with Google gemini-2.0-flash
  • Easy to use and extend

Getting Started #

Add the dependency to your pubspec.yaml:

dependencies: generative_ai_ui_builder: ^1.0.0

Usage #

import 'package:generative_ai_ui_builder/generative_ai_ui_builder.dart';

final aiBuilder = GenerativeAIUIBuilder('YOUR_GEMINI_API_KEY');

void generateCode(String prompt) async { String code = await aiBuilder.generateFlutterUICode(prompt); print(code); }

Example #

final prompt = "A login screen with email and password fields, and a login button."; final code = await aiBuilder.generateFlutterUICode(prompt);

Screenshots #

License #

MIT

Issues #

Please file issues and feature requests at GitHub Issues.

5
likes
0
points
16
downloads

Publisher

verified publisherworkwebzie.in

Weekly Downloads

A Flutter plugin that uses Google Gemini generative AI to turn natural language prompts into Flutter UI code. Ideal for rapid prototyping and AI-assisted app development.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, google_generative_ai, plugin_platform_interface

More

Packages that depend on generative_ai_ui_builder

Packages that implement generative_ai_ui_builder