hybrid 0.0.2 hybrid: ^0.0.2 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://192.168.2.216:3000/api/bundleJson" // "http://10.0.2.2:3000/api/bundleJson" //
: "http://deplay.test:3000/api/bundleJson",
indexKey: "home"));
}