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( |
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 'dart:io'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:healthoui/ui/shared/theme.dart'; | |
| import 'package:healthoui/ui/shared/ui_helper.dart'; | |
| import 'package:healthoui/ui/shared/widget/button/rounded_text_button.dart'; | |
| import 'package:healthoui/ui/shared/widget/card/icon_label_card.dart'; | |
| import 'package:healthoui/ui/shared/widget/header/listview_header.dart'; | |
| import 'package:healthoui/ui/shared/widget/listview/padding_listview.dart'; | |
| import 'package:healthoui/ui/shared/widget/padding/base_padding_enum.dart'; |
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'; | |
| import 'package:healthoui/ui/shared/widget/padding/base_padding_enum.dart'; | |
| class PaddingListView extends StatelessWidget { | |
| final BasePaddingLevel spaceLevel; | |
| final List<Widget> widgets; | |
| const PaddingListView( | |
| {Key key, @required this.spaceLevel, @required this.widgets}) |
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 '../../theme.dart'; | |
| import '../../ui_helper.dart'; | |
| import '../padding/base_padding.dart'; | |
| import '../padding/base_padding_enum.dart'; | |
| import '../text/subtitle.dart'; | |
| import 'circle_card.dart'; | |
| import 'rounded_rectange_card.dart'; |
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/theme.dart'; | |
| import 'package:healthoui/ui/shared/ui_helper.dart'; | |
| import 'package:healthoui/ui/shared/widget/button/rounded_text_button.dart'; | |
| import 'package:healthoui/ui/shared/widget/card/rounded_rectange_card.dart'; | |
| import 'package:healthoui/ui/shared/widget/dropdown/custom_dropdown_button.dart'; | |
| import 'package:healthoui/ui/shared/widget/padding/base_padding_enum.dart'; | |
| import './find_workout_plan_view_model.dart'; | |
| class FindWorkoutPlanView extends FindWorkoutPlanViewModel { |
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'; | |
| import 'package:healthoui/ui/shared/widget/text/subtitle.dart'; | |
| class ColumnText extends StatelessWidget { | |
| final List<String> values; | |
| const ColumnText({Key key, this.values}) : super(key: key); | |
| @override | |
| Widget build(BuildContext context) { |
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 'subtitle.dart'; | |
| class BoldSoftColumntText extends StatelessWidget { | |
| final String title; | |
| final String description; | |
| const BoldSoftColumntText({Key key, this.title, this.description}) | |
| : super(key: key); |
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
| Widget customTheme(Widget child, BuildContext context) => Theme( | |
| data: Theme.of(context).copyWith( | |
| dividerColor: Colors.transparent, | |
| dividerTheme: DividerThemeData( | |
| color: Theme.of(context).colorScheme.background)), | |
| child: child, | |
| ); |
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
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MultiProvider( | |
| providers: [ | |
| ChangeNotifierProvider(create: (_) => ProductListNotifier()), | |
| ], | |
| child: MaterialApp( |