home_page_provider 1.2.0 home_page_provider: ^1.2.0 copied to clipboard
A Flutter package project that gives the option to have a separate home page for web and mobile
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add home_page_provider
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
home_page_provider: ^1.2.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:home_page_provider/home_page_provider.dart';