flutter_starter_project 1.0.1 flutter_starter_project: ^1.0.1 copied to clipboard
flutter starter project having functions, widget which can be resued
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_starter_project
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_starter_project: ^1.0.1
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:flutter_starter_project/controls_ui.dart';
import 'package:flutter_starter_project/firebase_services.dart';
import 'package:flutter_starter_project/functions.dart';
import 'package:flutter_starter_project/hex_color.dart';
import 'package:flutter_starter_project/main.dart';
import 'package:flutter_starter_project/space_ui.dart';
import 'package:flutter_starter_project/text_styles.dart';