Created
January 23, 2020 18:50
-
-
Save VB10/70aa14fe3c443dbe670e0fe094b179fb to your computer and use it in GitHub Desktop.
Healtho Tab Item
This file contains hidden or 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 'package:healthoui/ui/shared/ui_helper.dart'; | |
| class PaddingTextTab extends StatelessWidget { | |
| final String text; | |
| const PaddingTextTab(this.text, {Key key}) : super(key: key); | |
| @override | |
| Widget build(BuildContext context) { | |
| return Tab( | |
| child: Padding( | |
| padding: EdgeInsets.only(top: SpaceValue.VERY_LOW), | |
| child: Text(text), | |
| ), | |
| // text: "Exercises", | |
| ); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment