Revert "Reland: Set IconButton.visualDensity default to VisualDensity.standard (#109432)" (#110119)

This reverts commit 79013b2be8.
This commit is contained in:
Qun Cheng
2022-08-23 15:41:03 -07:00
committed by GitHub
parent 9ef5017b92
commit c0c3874c77
9 changed files with 43 additions and 117 deletions

View File

@@ -19,6 +19,10 @@ class IconButtonToggleApp extends StatelessWidget {
theme: ThemeData(
colorSchemeSeed: const Color(0xff6750a4),
useMaterial3: true,
// Desktop and web platforms have a compact visual density by default.
// To see buttons with circular background on desktop/web, the "visualDensity"
// needs to be set to "VisualDensity.standard".
visualDensity: VisualDensity.standard,
),
title: 'Icon Button Types',
home: const Scaffold(