Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ migrate_working_dir/

# Flutter/Dart/Pub related
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
/pubspec.lock
pubspec.lock
**/doc/api/
.dart_tool/
.packages
Expand Down
4 changes: 0 additions & 4 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,3 @@
# limitations under the License.

include: package:flutter_lints/flutter.yaml
analyzer:
exclude:
# Cannot analyze subprojects
- example/**
29 changes: 0 additions & 29 deletions example/analysis_options.yaml

This file was deleted.

18 changes: 10 additions & 8 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ import 'package:convert/convert.dart' show hex;
import 'package:webcrypto/webcrypto.dart';

void main() {
runApp(MyApp());
runApp(const MyApp());
}

class MyApp extends StatefulWidget {
const MyApp({super.key});

@override
_MyAppState createState() => _MyAppState();
State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
Expand All @@ -50,17 +52,17 @@ class _MyAppState extends State<MyApp> {
),
Text(
'input',
textScaleFactor: 1.2,
style: TextStyle(fontWeight: FontWeight.bold),
textScaler: const TextScaler.linear(1.2),
style: const TextStyle(fontWeight: FontWeight.bold),
),
_textEntry(),
SizedBox(height: 50),
const SizedBox(height: 50),
Text(
'output',
textScaleFactor: 1.2,
style: TextStyle(fontWeight: FontWeight.bold),
textScaler: const TextScaler.linear(1.2),
style: const TextStyle(fontWeight: FontWeight.bold),
),
Text('$_output'),
Text(_output),
],
),
),
Expand Down
Loading
Loading