fzyzcjy / flutter_rust_bridge

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.

Home Page:https://fzyzcjy.github.io/flutter_rust_bridge/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working on chrome

dhrubrawat66 opened this issue · comments

Describe the bug

  1. i create the by using standard template
  2. then when i run it on browser
  3. it render on browser but it doesnot any content
    one
  4. but i remove follwing the, but i render the chrome with content
    two

Steps to reproduce

Hint: A simple way to reproduce is to clone and modify the https://github.com/fzyzcjy/flutter_rust_bridge/tree/master/frb_example/dart_minimal example package according to your needs.

  1. ...
  2. ...
  3. ...
    s

Logs

d

Expected behavior

No response

Generated binding code

#[flutter_rust_bridge::frb(sync)] // Synchronous mode for simplicity of the demo
pub fn greet(name: String) -> String {
    format!("Hello, {name}!")
}

#[flutter_rust_bridge::frb(init)]
pub fn init_app() {
    // Default utilities - feel free to customize
    flutter_rust_bridge::setup_default_user_utils();
}

OS

window

Version of flutter_rust_bridge_codegen

flutter_rust_bridge_codegen 2.0.0-dev.28

Flutter info

Flutter 3.19.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 68bfaea224 (32 hours ago) • 2024-03-20 15:36:31 -0700
Engine • revision a5c24f538d
Tools • Dart 3.3.2 • DevTools 2.31.1

Version of clang++

clang version 17.0.1

Additional context

No response

Hi! Thanks for opening your first issue here! 😄

Hi, could you please check/paste the browser's console output?

Close since inactivity, but feel free to reopen if still having any questions!