Skip to content

iambhabha/all_extensions

Repository files navigation

All extensions

all extension available use many extension to your flutter app

Installation

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  all_extensions: ^0.0.1
  1. Import the package and use it in your Flutter App.
import 'package:all_extensions/all_extensions.dart';
class Allextensions extends StatelessWidget {
  const Allextensions({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
     list name = <String>[kapil , ishwar ,ishwar,ishwar nameera, moshin, nishant arvind , kapil , kapil];
        var duplicateremove = name.unique(
        (x) => x,
        );

    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: ListView.builder(
            itemCount: name.length,
              itemBuilder: (context, i){

                  return ListTile(
                    title: Text("${name[i]}"),
                  );

              },
          ),
        )
      ),
    );
  }
}

Features

all extension available use many extension

Getting started

flutter list any duplicates data remove ex : list name = [kapil , ishwar ,ishwar,ishwar nameera, moshin, nishant arvind , kapil , kapil];

var duplicateremove = name.unique( (x) => x, );

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published