mirror of
https://github.com/flutter/samples.git
synced 2026-04-29 11:06:34 +00:00
Remove unneeded types (#949)
This commit is contained in:
@@ -130,7 +130,7 @@ class SettingsItemState extends State<SettingsItem> {
|
||||
child: widget.subtitle != null
|
||||
? Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
children: [
|
||||
const SizedBox(height: 8.5),
|
||||
Text(widget.label,
|
||||
style: themeData.textTheme.textStyle),
|
||||
|
||||
@@ -122,7 +122,7 @@ class VeggieCard extends StatelessWidget {
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
children: [
|
||||
Text(
|
||||
veggie.name,
|
||||
style: Styles.cardTitleText(themeData),
|
||||
|
||||
Reference in New Issue
Block a user