Fix bug beaconId null

This commit is contained in:
Fransolet Thomas 2023-04-17 22:34:45 +02:00
parent 5fadf3943f
commit 9de38c2cfc
2 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ class _SectionDetailScreenState extends State<SectionDetailScreen> {
if(sectionDTO.isBeacon!) if(sectionDTO.isBeacon!)
NumberInputContainer( NumberInputContainer(
label: "Identifiant Beacon :", label: "Identifiant Beacon :",
initialValue: sectionDTO != null ? sectionDTO.beaconId! : 0, initialValue: sectionDTO.beaconId != null ? sectionDTO.beaconId! : 0,
isSmall: true, isSmall: true,
onChanged: (value) { onChanged: (value) {
try { try {

View File

@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1 version: 1.0.0+1
environment: environment:
sdk: ">=2.16.2 <3.0.1" sdk: ">=2.16.2 <3.2.0"
dependencies: dependencies:
flutter: flutter: