hybrid 0.0.1 hybrid: ^0.0.1 copied to clipboard
A new flutter plugin project.
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:hybrid/hybrid.dart';
import 'package:hybrid/store.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
runApp(Hybrid(
store: store,
bundleApiUrl: Platform.isAndroid
? "http://10.0.2.2:3000/api/bundleJson"
: "http://deplay.test:3000/api/bundleJson",
indexKey: "home"));
}
// http://10.0.2.2:3000/api/bundleJson