File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class MyApp extends StatelessWidget {
22
22
theme: ThemeData (
23
23
primarySwatch: Colors .blue,
24
24
),
25
- home: const AnimatedContainerWidget (),
25
+ home: const MyReusableWidgetView (),
26
26
);
27
27
}
28
28
}
@@ -99,6 +99,12 @@ class _MyReusableWidgetViewState extends State<MyReusableWidgetView> {
99
99
child: Padding (
100
100
padding: const EdgeInsets .only (top: 18.0 ),
101
101
child: buildHeroWidgetScreen ())),
102
+ SliverToBoxAdapter (
103
+
104
+ ///[CountPicker Area!]
105
+ child: Padding (
106
+ padding: const EdgeInsets .only (top: 18.0 ),
107
+ child: buildAnimatedContainerScreen ())),
102
108
],
103
109
),
104
110
),
@@ -198,6 +204,18 @@ class _MyReusableWidgetViewState extends State<MyReusableWidgetView> {
198
204
);
199
205
}
200
206
207
+ CustomOutlineTextButton buildAnimatedContainerScreen () {
208
+ return CustomOutlineTextButton (
209
+ buttonText: 'GO TO ANIMATED WİDGET SCREEN' ,
210
+ onPressed: () {
211
+ Navigator .push (
212
+ context,
213
+ MaterialPageRoute (
214
+ builder: (context) => const AnimatedContainerWidget ()));
215
+ },
216
+ );
217
+ }
218
+
201
219
///[TOGGLE BUTTON TAB CHANGE FUNCTION]
202
220
tabChange (int newIndex) {
203
221
for (int index = 0 ; index < toggleButtonItemsSelected.length; index++ ) {
You can’t perform that action at this time.
0 commit comments