soft_ifconfig 0.1.0-dev soft_ifconfig: ^0.1.0-dev copied to clipboard
A Dart/Flutter package/library for get the mac address from Windows, macOS and Linux.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add soft_ifconfig
With Flutter:
$ flutter pub add soft_ifconfig
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
soft_ifconfig: ^0.1.0-dev
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:soft_ifconfig/soft_ifconfig.dart';