Skip to content

Scaffold drawer can be opened from end drawer #39736

Closed

Description

@fralways

Steps to Reproduce

Open end drawer and try to open other drawer from there by swiping from left to right from edge. iPhone used: 6s.

import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key}) : super(key: key);

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  void initState() {
    // TODO: implement initState
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        color: Colors.green,
        alignment: Alignment.center,
        child: Text('center'),
      ),
      drawer: Container(
        color: Colors.red,
        alignment: Alignment.center,
        child: Text('left'),
      ),
      endDrawer: Container(
        color: Colors.blue,
        alignment: Alignment.center,
        child: Text('right'),
      ),
    );
  }
}
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v1.8.3, on Mac OS X 10.14.6 18G87, locale
    en-US)
 
[✓] Android toolchain - develop for Android devices (Android SDK version
    28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Android Studio (version 3.5)
[!] IntelliJ IDEA Ultimate Edition (version 2018.1.2)
    ✗ Flutter plugin not installed; this adds Flutter specific
      functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

Activity

  1. fralways commented on Sep 3, 2019

    @fralways
    Author

    Video of this bug.
    File from iOS.MOV.zip

  2. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Sep 3, 2019
  3. TahaTesser commented on Feb 25, 2020

    @TahaTesser
    Contributor

    Hi @fralways
    After testing your code on (Thanks to @iapicca)

    Flutter 1.12.13+hotfix.8 • channel stable • https://github.com/flutter/flutter.git
    Framework • revision 0b8abb4724 (2 weeks ago) • 2020-02-11 11:44:36 -0800
    Engine • revision e1e6ced81d
    Tools • Dart 2.7.0
    

    This issue seems to be resolved

    are you still experiencing this issue with the latest version of Flutter?
    If so please provide your updated flutter doctor -v and flutter run --verbose and I will reopen it.
    Thank you

  4. github-actions commented on Aug 22, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  5. locked as resolved and limited conversation to collaborators on Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    frameworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions