Fixed the leading IconButton size (#110722)

This commit is contained in:
Qun Cheng
2022-09-01 12:03:13 -07:00
committed by GitHub
parent 69b2dd0fdc
commit 4125a3a8f0
7 changed files with 145 additions and 23 deletions

View File

@@ -19,10 +19,6 @@ 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(