kopo 0.1.0 kopo: ^0.1.0 copied to clipboard
find Korea Postal address
find Korea Postal address
Getting Started #
You should ensure that you add the router as a dependency in your flutter project.
dependencies:
kopo: "^0.1.0"
Setup #
iOS #
Opt-in to the embedded views preview by adding a boolean property to the app's Info.plist
file
with the key io.flutter.embedded_views_preview
and the value YES
.
<key>io.flutter.embedded_views_preview</key>
<true/>
Example #
import 'package:kopo/kopo.dart';
MaterialButton(
child: Text('find Korea Postal address'),
onPressed: () async {
KopoModel model =
KopoModel.fromJson(jsonDecode(await Navigator.push(
context,
CupertinoPageRoute(
builder: (context) => Kopo(),
),
)));
},
),