Update linting and formatting rules (#261)
* Add new linting rules * Apply new linting rules * Fix dart sdk version * Format code to 80 lines
This commit is contained in:
parent
f17cef9523
commit
3af5406f60
74 changed files with 1049 additions and 481 deletions
|
|
@ -24,7 +24,8 @@ class ProfileCard extends StatelessWidget {
|
|||
content: Column(
|
||||
children: [
|
||||
Button(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 30.0, vertical: 15.0),
|
||||
padding:
|
||||
const EdgeInsets.symmetric(horizontal: 30.0, vertical: 15.0),
|
||||
onPressed: () => Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
|
|
@ -35,7 +36,8 @@ class ProfileCard extends StatelessWidget {
|
|||
),
|
||||
body: WebView(
|
||||
initialUrl: authStore.loginUri.toString(),
|
||||
navigationDelegate: (navigation) => authStore.handleNavigation(navigation: navigation),
|
||||
navigationDelegate: (navigation) =>
|
||||
authStore.handleNavigation(navigation: navigation),
|
||||
javascriptMode: JavascriptMode.unrestricted,
|
||||
),
|
||||
);
|
||||
|
|
@ -108,7 +110,8 @@ class ProfileCard extends StatelessWidget {
|
|||
return FrostyListTile(
|
||||
leading: const Icon(Icons.no_accounts_rounded),
|
||||
title: 'Anonymous',
|
||||
subtitle: const Text('Tap to log in and enable the ability to chat, view followed streams, and more.'),
|
||||
subtitle: const Text(
|
||||
'Tap to log in and enable the ability to chat, view followed streams, and more.'),
|
||||
trailing: const SizedBox(
|
||||
height: double.infinity,
|
||||
child: Icon(Icons.chevron_right_rounded),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue