ai_profanity_textfield 0.0.1 copy "ai_profanity_textfield: ^0.0.1" to clipboard
ai_profanity_textfield: ^0.0.1 copied to clipboard

A textfield widget that checks for profanity in the input text.

example/lib/main.dart

import 'package:ai_profanity_textfield/gemini_service.dart';
import 'package:ai_profanity_textfield/profanity_textfield.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Profanity Example',
      home: ProfanityExample(),
    );
  }
}

class ProfanityExample extends StatefulWidget {
  const ProfanityExample({super.key});

  @override
  State<ProfanityExample> createState() => _ProfanityExampleState();
}

class _ProfanityExampleState extends State<ProfanityExample> {
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Column(
        children: [
         
        ],
      )
    );
  }
}
0
likes
140
pub points
0%
popularity

Publisher

unverified uploader

A textfield widget that checks for profanity in the input text.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_dotenv, flutter_riverpod, gap, google_generative_ai, responsive_sizer, riverpod

More

Packages that depend on ai_profanity_textfield