Skip to content

Commit 940a574

Browse files
Merge pull request #907 from Harsha-SF4223/master
Moved the Volume 1, 2026 release source changes to the flutter examples repository
2 parents 2b052bd + c8d4a1c commit 940a574

360 files changed

Lines changed: 785 additions & 23195 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java

Lines changed: 0 additions & 54 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Launch Screen Assets
2+
3+
You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4+
5+
You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.

lib/model/helper.dart

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -435,26 +435,23 @@ class _FullViewSampleLayout extends StatelessWidget {
435435
alignment: Alignment.bottomLeft,
436436
child: Padding(
437437
padding: EdgeInsets.fromLTRB(30, needPadding ? 50 : 0, 0, 0),
438-
child: SizedBox(
439-
height: 20,
440-
width: 230,
441-
child: InkWell(
442-
hoverColor: model.hoverColor,
443-
highlightColor: model.splashColor,
444-
splashColor: model.splashColor,
445-
onTap: () => launchUrl(Uri.parse(sample!.sourceLink!)),
446-
child: Row(
447-
children: <Widget>[
448-
Text(
449-
'Source: ',
450-
style: TextStyle(fontSize: 16, color: model.textColor),
451-
),
452-
Text(
453-
sample!.sourceText!,
454-
style: const TextStyle(fontSize: 14, color: Colors.blue),
455-
),
456-
],
457-
),
438+
child: InkWell(
439+
hoverColor: model.hoverColor,
440+
highlightColor: model.splashColor,
441+
splashColor: model.splashColor,
442+
onTap: () => launchUrl(Uri.parse(sample!.sourceLink!)),
443+
child: Row(
444+
mainAxisSize: MainAxisSize.min,
445+
children: <Widget>[
446+
Text(
447+
'Source: ',
448+
style: TextStyle(fontSize: 16, color: model.textColor),
449+
),
450+
Text(
451+
sample!.sourceText!,
452+
style: const TextStyle(fontSize: 14, color: Colors.blue),
453+
),
454+
],
458455
),
459456
),
460457
),

lib/sample_details.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
"platformsToHide": [
150150
"web",
151151
"windows",
152-
"macos",
152+
"macOS",
153153
"linux"
154154
]
155155
},
@@ -162,7 +162,7 @@
162162
"platformsToHide": [
163163
"web",
164164
"windows",
165-
"macos",
165+
"macOS",
166166
"linux"
167167
]
168168
}
@@ -3254,7 +3254,8 @@
32543254
"type": "sample",
32553255
"title": "Resource View",
32563256
"key": "shift_scheduler",
3257-
"codeLink": "https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/calendar/shift_scheduler.dart"
3257+
"codeLink": "https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/calendar/shift_scheduler.dart",
3258+
"needsPropertyPanel": true
32583259
},
32593260
{
32603261
"type": "sample",

lib/samples/ai_samples/ai_charts/ai_smart_chart/smart_chart.dart

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ class _SmartAIChartState extends SampleViewState {
290290
) {
291291
return ElevatedButton(
292292
style: ElevatedButton.styleFrom(
293+
padding: const EdgeInsets.symmetric(horizontal: 10.0),
293294
side: BorderSide(color: Theme.of(context).colorScheme.outlineVariant),
294295
elevation: 0.0,
295296
alignment: Alignment.center,
@@ -309,11 +310,20 @@ class _SmartAIChartState extends SampleViewState {
309310
}
310311
: null,
311312
child: Row(
312-
spacing: 10.0,
313+
spacing: 8.0,
313314
mainAxisSize: MainAxisSize.min,
314315
children: <Widget>[
315316
Icon(iconData, color: textColor, size: 20.0),
316-
Text(alignText, style: TextStyle(color: textColor)),
317+
Flexible(
318+
child: Text(
319+
alignText,
320+
style: TextStyle(
321+
color: textColor,
322+
fontSize: 12.0,
323+
overflow: TextOverflow.ellipsis,
324+
),
325+
),
326+
),
317327
],
318328
),
319329
);

0 commit comments

Comments
 (0)