Initial commit: Penyerahan final Source code Tugas Akhir
This commit is contained in:
12
lib/providers/checkbox_provider.dart
Normal file
12
lib/providers/checkbox_provider.dart
Normal file
@ -0,0 +1,12 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class CheckboxProvider with ChangeNotifier {
|
||||
bool _isChecked = false;
|
||||
|
||||
bool get isChecked => _isChecked;
|
||||
|
||||
set isChecked(bool value) {
|
||||
_isChecked = value;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user