find Korea Postal address
You should ensure that you add the router as a dependency in your flutter project.
dependencies:
kopo: "^0.1.3"
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/>
import 'package:kopo/kopo.dart';
MaterialButton(
child: Text('find Korea Postal address'),
onPressed: () async {
KopoModel model = await Navigator.push(
context,
CupertinoPageRoute(
builder: (context) => Kopo(),
),
);
},
),