* Fix typos

* lowercase animated & opacity

* Undo typo fix

---------

Co-authored-by: Michael Goderbauer <goderbauer@google.com>
This commit is contained in:
Lioness100
2023-02-23 14:43:21 -05:00
committed by GitHub
parent 3681b27a47
commit 26b6c1bedd
175 changed files with 285 additions and 284 deletions

View File

@@ -31,7 +31,7 @@ class _NavRailExampleState extends State<NavRailExample> {
NavigationRailLabelType labelType = NavigationRailLabelType.all;
bool showLeading = false;
bool showTrailing = false;
double groupAligment = -1.0;
double groupAlignment = -1.0;
@override
Widget build(BuildContext context) {
@@ -40,7 +40,7 @@ class _NavRailExampleState extends State<NavRailExample> {
children: <Widget>[
NavigationRail(
selectedIndex: _selectedIndex,
groupAlignment: groupAligment,
groupAlignment: groupAlignment,
onDestinationSelected: (int index) {
setState(() {
_selectedIndex = index;
@@ -118,7 +118,7 @@ class _NavRailExampleState extends State<NavRailExample> {
],
),
const SizedBox(height: 20),
Text('Group alignment: $groupAligment'),
Text('Group alignment: $groupAlignment'),
const SizedBox(height: 10),
OverflowBar(
spacing: 10.0,
@@ -126,7 +126,7 @@ class _NavRailExampleState extends State<NavRailExample> {
ElevatedButton(
onPressed: () {
setState(() {
groupAligment = -1.0;
groupAlignment = -1.0;
});
},
child: const Text('Top'),
@@ -134,7 +134,7 @@ class _NavRailExampleState extends State<NavRailExample> {
ElevatedButton(
onPressed: () {
setState(() {
groupAligment = 0.0;
groupAlignment = 0.0;
});
},
child: const Text('Center'),
@@ -142,7 +142,7 @@ class _NavRailExampleState extends State<NavRailExample> {
ElevatedButton(
onPressed: () {
setState(() {
groupAligment = 1.0;
groupAlignment = 1.0;
});
},
child: const Text('Bottom'),

View File

@@ -32,7 +32,7 @@ class _NavRailExampleState extends State<NavRailExample> {
NavigationRailLabelType labelType = NavigationRailLabelType.all;
bool showLeading = false;
bool showTrailing = false;
double groupAligment = -1.0;
double groupAlignment = -1.0;
@override
Widget build(BuildContext context) {
@@ -42,7 +42,7 @@ class _NavRailExampleState extends State<NavRailExample> {
children: <Widget>[
NavigationRail(
selectedIndex: _selectedIndex,
groupAlignment: groupAligment,
groupAlignment: groupAlignment,
onDestinationSelected: (int index) {
setState(() {
_selectedIndex = index;
@@ -120,7 +120,7 @@ class _NavRailExampleState extends State<NavRailExample> {
],
),
const SizedBox(height: 20),
Text('Group alignment: $groupAligment'),
Text('Group alignment: $groupAlignment'),
const SizedBox(height: 10),
OverflowBar(
spacing: 10.0,
@@ -128,7 +128,7 @@ class _NavRailExampleState extends State<NavRailExample> {
ElevatedButton(
onPressed: () {
setState(() {
groupAligment = -1.0;
groupAlignment = -1.0;
});
},
child: const Text('Top'),
@@ -136,7 +136,7 @@ class _NavRailExampleState extends State<NavRailExample> {
ElevatedButton(
onPressed: () {
setState(() {
groupAligment = 0.0;
groupAlignment = 0.0;
});
},
child: const Text('Center'),
@@ -144,7 +144,7 @@ class _NavRailExampleState extends State<NavRailExample> {
ElevatedButton(
onPressed: () {
setState(() {
groupAligment = 1.0;
groupAlignment = 1.0;
});
},
child: const Text('Bottom'),