Replace FocusTrap with TapRegionSurface (#107262)
This commit is contained in:
@@ -631,13 +631,11 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
data: Theme.of(context).copyWith(visualDensity: _model.density),
|
||||
child: Directionality(
|
||||
textDirection: _model.rtl ? TextDirection.rtl : TextDirection.ltr,
|
||||
child: Scrollbar(
|
||||
child: MediaQuery(
|
||||
data: MediaQuery.of(context).copyWith(textScaleFactor: _model.size),
|
||||
child: SizedBox.expand(
|
||||
child: ListView(
|
||||
children: tiles,
|
||||
),
|
||||
child: MediaQuery(
|
||||
data: MediaQuery.of(context).copyWith(textScaleFactor: _model.size),
|
||||
child: SizedBox.expand(
|
||||
child: ListView(
|
||||
children: tiles,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user