featurestar 1.1.0 icon indicating copy to clipboard operation
featurestar: ^1.1.0 copied to clipboard

A star rating package with features

example/lib/main.dart

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Feature Star Example',
      debugShowCheckedModeBanner: false,
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
        child: Container(
          padding: EdgeInsets.all(16),
          child:
          FeatureStar(
            data: [
              FeatureData(featureText: 'Landlord', rate: 3.8, starColor: Colors.red),
              FeatureData(featureText: 'Property', rate: 5.0),
              FeatureData(featureText: 'Neighborhood', rate: 4.5),
            ],
          ),
        ),
      ),
    );
  }
}
8
likes
80
pub points
26%
popularity

Publisher

unverified uploader

A star rating package with features

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on featurestar