FUTRET Utwórz pakiet
flutter create --template=package hello
Flutter Guy
flutter create --template=package hello
flutter create --org com.yourdomain appname
flutter pub add {package}
mkdir packages
cd packages
flutter create --template=package bmi
dependencies:
flutter:
sdk: flutter
# Used by bmi_calculation_page.dart
flutter_hooks: ^0.9.0
# we no longer need to import intl explicitly, as bmi already depends on it
bmi:
path: packages/bmi