more const immutable classes (#104988)

* more const immutable classes

* more const constructors in dev/ and examples/
This commit is contained in:
Alexandre Ardhuin
2022-05-31 21:56:24 +02:00
committed by GitHub
parent 16b7348155
commit 552c50e67c
22 changed files with 94 additions and 41 deletions

View File

@@ -19,13 +19,15 @@ class IVBuilderExampleApp extends StatelessWidget {
appBar: AppBar(
title: const Text('IV Builder Example'),
),
body: _IVBuilderExample(),
body: const _IVBuilderExample(),
),
);
}
}
class _IVBuilderExample extends StatefulWidget {
const _IVBuilderExample();
@override
State<_IVBuilderExample> createState() => _IVBuilderExampleState();
}