flutter_emoji_feedback 0.1.1 copy "flutter_emoji_feedback: ^0.1.1" to clipboard
flutter_emoji_feedback: ^0.1.1 copied to clipboard

A fully customizable flutter widget for rating user's mood.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_emoji_feedback/flutter_emoji_feedback.dart';

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

class ExampleApp extends StatelessWidget {
  const ExampleApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Example App',
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
        child: Padding(
          padding: const EdgeInsets.all(16.0),
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.center,
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              EmojiFeedback(
                onChanged: (value) {
                  print(value);
                },
              )
            ],
          ),
        ),
      ),
    );
  }
}
50
likes
0
pub points
90%
popularity

Publisher

verified publisherstevenosse.com

A fully customizable flutter widget for rating user's mood.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, flutter, flutter_svg

More

Packages that depend on flutter_emoji_feedback