buildContents abstract method

Widget buildContents(
  1. BuildContext context, {
  2. Set<MaterialState> materialStates,
})

buildContents() is called by the parent's state build() method

  • treat this like the build() call of a normal StatelessWidget, but with the additional materialStates object that can be used for customization

Implementation

Widget buildContents(BuildContext context, {Set<MaterialState> materialStates});