Skip to content

Hot Reload opens binding.dart at line 845 on every reload (no errors shown) #61560

@oneebzahid

Description

@oneebzahid

Steps to reproduce

  1. Create a New Flutter Project with Flutter 3.35
  2. Start a Debug Session targetting Chrome in VS Code
  3. Trigger a Hot Reload either by clicking Hot Reload button or saving the file
  4. Observe that binding.dart file opens up at line 845

Code sample

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(
          child: Text('Demo App'),
        ),
      ),
    );
  }
}

Flutter version

Flutter 3.35.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d693b4b9db (7 days ago) • 2025-09-16 14:27:41 +0000
Engine • hash feee8ee8fb8b975dd9990f86d3bda11e6e75faf3 (revision c298091351) (7
days ago) • 2025-09-15 14:04:24.000Z
Tools • Dart 3.9.2 • DevTools 2.48.0

Metadata

Metadata

Labels

area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-dev-compilerweb-hot-reloadIssues related to stateful hot reload on the web

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions