Initial commit: Penyerahan final Source code Tugas Akhir
This commit is contained in:
12
lib/providers/description_provider.dart
Normal file
12
lib/providers/description_provider.dart
Normal file
@ -0,0 +1,12 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class DescriptionProvider with ChangeNotifier {
|
||||
bool isExpanded;
|
||||
|
||||
DescriptionProvider({this.isExpanded = true});
|
||||
|
||||
void expanded() {
|
||||
isExpanded = !isExpanded;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user