Skip to content

Instantly share code, notes, and snippets.

@MarcinusX
Created August 24, 2018 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarcinusX/b17367682f54786c2c2054df9391b3af to your computer and use it in GitHub Desktop.
Save MarcinusX/b17367682f54786c2c2054df9391b3af to your computer and use it in GitHub Desktop.
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