Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Created December 17, 2018 07:08
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 hitherejoe/b67438ec41e079486069eb081ee4e7bc to your computer and use it in GitHub Desktop.
Save hitherejoe/b67438ec41e079486069eb081ee4e7bc to your computer and use it in GitHub Desktop.
class PlatformTabs extends PlatformWidget<Text, Tab> {
final label;
PlatformTabs({this.label});
@override
Tab createAndroidWidget(BuildContext context) {
return Tab(
child: Text(
label,
style: TextStyle(color: VoiceTheme.blaze_orange),
));
}
@override
Text createIosWidget(BuildContext context) {
return Text(label);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment