This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
enum CheckboxType { | |
Parent, | |
Child, | |
} | |
@immutable | |
class CustomLabeledCheckbox extends StatelessWidget { | |
const CustomLabeledCheckbox({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'custom_labeled_checkbox.dart'; | |
class ParentChildCheckboxes extends StatefulWidget { | |
static const String routeName = 'parent-child-checkbox'; | |
@override | |
_ParentChildCheckboxesState createState() => _ParentChildCheckboxesState(); | |
} |