Instantly share code, notes, and snippets.

Embed
What would you like to do?
class InputPage extends StatelessWidget {
...
Widget _buildBottom(BuildContext context) {
return Container(
alignment: Alignment.center,
height: screenAwareSize(108.0, context),
width: double.infinity,
child: Switch(value: true, onChanged: (val) {}),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment