kpostal 0.1.0 kpostal: ^0.1.0 copied to clipboard
Kpostal package can search for Korean postal addresses using Kakao postcode service. This package is inspired by Kopo package that is discontinued.
About kpostal #
Kpostal package can search for Korean postal addresses using Kakao postcode service (https://postcode.map.daum.net/guide). This package is inspired by Kopo package that is discontinued (https://pub.dev/packages/kopo).
Support Null-Safety!
Getting Started #
Add kpostal to your pubspec.yaml file:
dependencies:
kpostal: ^0.1.0
Setup #
🧑🏻💻 Nothing to do! Both iOS and Android.
Example #
import 'package:kpostal/kpostal.dart';
// Use callback.
TextButton(
onPressed: () async {
await Navigator.push(context, MaterialPageRoute(
builder: (_) => KpostalView(
callback: (Kpostal result) {
print(reuslt.address);
),
),
);
},
child: Text('Search!'),
),
// Not use callback.
TextButton(
onPressed: () async {
Kpostal result = await Navigator.push(context, MaterialPageRoute(builder: (_) => KpostalView()));
print(result.address);
},
child: Text('Search!'),
),